Duk wanda ya yi ƙoƙarin tafiyar da na'ura mai kama-da-wane a cikin gajimare ya san cewa daidaitaccen tashar tashar RDP, idan an buɗe shi, kusan nan da nan za a kai masa hari ta hanyar yunƙurin ƙarfin kalmar sirri daga adiresoshin IP daban-daban a duniya.
A cikin wannan labarin zan nuna yadda ake
A cikin Quest InTrust zaku iya saita ayyukan amsawa lokacin da aka kunna ka'ida. Daga wakilin tarin log ɗin, InTrust yana karɓar saƙo game da yunƙurin izini mara nasara akan wurin aiki ko sabar. Don saita ƙara sabbin adiresoshin IP zuwa Tacewar zaɓi, kuna buƙatar kwafin ƙa'idar al'ada ta yau da kullun don gano izini da yawa da suka gaza kuma buɗe kwafinsa don gyarawa:
Abubuwan da ke faruwa a cikin rajistan ayyukan Windows suna amfani da wani abu da ake kira InsertionString.
Wannan shine abin da rubutun taron 4625 yayi kama:
An account failed to log on.
Subject:
Security ID: S-1-5-21-1135140816-2109348461-2107143693-500
Account Name: ALebovsky
Account Domain: LOGISTICS
Logon ID: 0x2a88a
Logon Type: 2
Account For Which Logon Failed:
Security ID: S-1-0-0
Account Name: Paul
Account Domain: LOGISTICS
Failure Information:
Failure Reason: Account locked out.
Status: 0xc0000234
Sub Status: 0x0
Process Information:
Caller Process ID: 0x3f8
Caller Process Name: C:WindowsSystem32svchost.exe
Network Information:
Workstation Name: DCC1
Source Network Address: ::1
Source Port: 0
Detailed Authentication Information:
Logon Process: seclogo
Authentication Package: Negotiate
Transited Services: -
Package Name (NTLM only): -
Key Length: 0
This event is generated when a logon request fails. It is generated on the computer where access was attempted.
The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).
The Process Information fields indicate which account and process on the system requested the logon.
The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The authentication information fields provide detailed information about this specific logon request.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
Bugu da ƙari, za mu ƙara ƙimar Adireshin Cibiyar Sadarwar Tushen zuwa rubutun taron.
Sannan kuna buƙatar ƙara rubutun da zai toshe adireshin IP a cikin Firewall Windows. Da ke ƙasa akwai misalin da za a iya amfani da shi don wannan.
Rubutun don kafa bangon wuta
param(
[Parameter(Mandatory = $true)]
[ValidateNotNullOrEmpty()]
[string]
$SourceAddress
)
$SourceAddress = $SourceAddress.Trim()
$ErrorActionPreference = 'Stop'
$ruleName = 'Quest-InTrust-Block-Failed-Logons'
$ruleDisplayName = 'Quest InTrust: Blocks IP addresses from failed logons'
function Get-BlockedIps {
(Get-NetFirewallRule -Name $ruleName -ErrorAction SilentlyContinue | get-netfirewalladdressfilter).RemoteAddress
}
$blockedIps = Get-BlockedIps
$allIps = [array]$SourceAddress + [array]$blockedIps | Select-Object -Unique | Sort-Object
if (Get-NetFirewallRule -Name $ruleName -ErrorAction SilentlyContinue) {
Set-NetFirewallRule -Name $ruleName -RemoteAddress $allIps
} else {
New-NetFirewallRule -Name $ruleName -DisplayName $ruleDisplayName -Direction Inbound -Action Block -RemoteAddress $allIps
}
Yanzu zaku iya canza sunan doka da bayanin don gujewa rudani daga baya.
Yanzu kuna buƙatar ƙara wannan rubutun azaman aikin mayar da martani ga ƙa'idar, kunna ƙa'idar, kuma tabbatar da cewa an kunna ƙa'idar da ta dace a cikin manufofin sa ido na ainihi. Dole ne a kunna wakili don gudanar da rubutun amsa kuma dole ne ya sami daidaitattun siga.
Bayan an kammala saituna, adadin izini marasa nasara ya ragu da kashi 80%. Riba? Abin da mai girma!
Wani lokaci ƙaramin haɓaka yana sake faruwa, amma wannan yana faruwa ne saboda bullar sabbin hanyoyin kai hari. Sannan komai ya fara raguwa kuma.
A cikin tsawon mako guda na aiki, an ƙara adiresoshin IP 66 zuwa dokar tacewar zaɓi.
A ƙasa akwai tebur mai sunaye na gama gari guda 10 waɗanda aka yi amfani da su don yunƙurin izini.
sunan mai amfani
Yawan
A cikin kaso
shugaba
1220235
40.78
admin
672109
22.46
mai amfani
219870
7.35
contoso
126088
4.21
contoso.com
73048
2.44
shugaba
55319
1.85
uwar garken
39403
1.32
sgazlabdc01.contoso.com
32177
1.08
gudanarwa
32377
1.08
sgazlabdc01
31259
1.04
Faɗa mana a cikin sharhi yadda kuke amsa barazanar tsaro na bayanai. Wane tsari kuke amfani da shi kuma yaya dacewa yake?
Idan kuna sha'awar ganin InTrust a aikace,
Karanta sauran labaran mu kan tsaron bayanai:
source: www.habr.com