ቨርቹዋል ማሽንን በደመና ውስጥ ለማስኬድ የሞከረ ማንኛውም ሰው አንድ መደበኛ የ RDP ወደብ ክፍት ከሆነ ወዲያውኑ ከሞላ ጎደል በአለም ዙሪያ ካሉ የተለያዩ የአይፒ አድራሻዎች በሚመጡ የይለፍ ቃል ብሩት ሃይል ሙከራዎች እንደሚጠቃ ያውቃል።
በዚህ ጽሑፍ ውስጥ እንዴት ማድረግ እንዳለብኝ አሳያለሁ
በQuest InTrust ውስጥ ደንብ ሲቀሰቀስ የምላሽ እርምጃዎችን ማዋቀር ይችላሉ። ከሎግ ማሰባሰቢያ ወኪል፣ InTrust በአንድ የስራ ጣቢያ ወይም አገልጋይ ላይ ስለተደረገ ያልተሳካ የፍቃድ ሙከራ መልእክት ይቀበላል። አዲስ የአይፒ አድራሻዎችን ወደ ፋየርዎል ማከልን ለማዋቀር ብዙ ያልተሳኩ ፈቃዶችን ለመለየት ያለውን ብጁ ህግ መቅዳት እና ለማርትዕ ቅጂውን መክፈት ያስፈልግዎታል።
በዊንዶውስ ምዝግብ ማስታወሻዎች ውስጥ ያሉ ክስተቶች InsertionString የሚባል ነገር ይጠቀማሉ።
የክስተት 4625 ጽሑፍ ይህን ይመስላል፡-
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.
በተጨማሪም፣ የምንጭ አውታረ መረብ አድራሻ እሴትን በክስተቱ ጽሑፍ ላይ እንጨምራለን።
ከዚያ በዊንዶውስ ፋየርዎል ውስጥ የአይፒ አድራሻውን የሚያግድ ስክሪፕት ማከል ያስፈልግዎታል። ከዚህ በታች ለዚህ ጥቅም ላይ ሊውል የሚችል ምሳሌ ነው.
ፋየርዎልን ለማዘጋጀት ስክሪፕት
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
}
በኋላ ላይ ግራ መጋባትን ለማስወገድ አሁን የደንቡን ስም እና መግለጫ መቀየር ትችላለህ።
አሁን ይህንን ስክሪፕት እንደ ደንቡ የምላሽ እርምጃ ማከል፣ ደንቡን ማንቃት እና ተጓዳኝ ደንቡ በእውነተኛ ጊዜ የክትትል ፖሊሲ ውስጥ መንቃቱን ያረጋግጡ። ተወካዩ የምላሽ ስክሪፕት እንዲያሄድ መንቃት አለበት እና ትክክለኛው መለኪያ ሊኖረው ይገባል።
ቅንብሮቹ ከተጠናቀቁ በኋላ ያልተሳካላቸው ፈቃዶች በ 80% ቀንሰዋል. ትርፍ? እንዴት ያለ ታላቅ ነው!
አንዳንድ ጊዜ ትንሽ ጭማሪ እንደገና ይከሰታል, ነገር ግን ይህ አዲስ የጥቃት ምንጮች መከሰት ምክንያት ነው. ከዚያ ሁሉም ነገር እንደገና ማሽቆልቆል ይጀምራል.
በአንድ ሳምንት የስራ ጊዜ ውስጥ 66 አይፒ አድራሻዎች ወደ ፋየርዎል ደንብ ተጨምረዋል።
ከታች ለፍቃድ ሙከራዎች ጥቅም ላይ የዋሉ 10 የተለመዱ የተጠቃሚ ስሞች ያሉት ሠንጠረዥ አለ።
የተጠቃሚ ስም
ՔԱՆԱԿ
በመቶኛ
አስተዳዳሪ
1220235
40.78
አስተዳዳሪ
672109
22.46
ተጠቃሚ
219870
7.35
ኮንቶሶ
126088
4.21
contoso.com
73048
2.44
አስተዳዳሪ
55319
1.85
አገልጋይ
39403
1.32
sgazlabdc01.contoso.com
32177
1.08
አስተዳዳሪ
32377
1.08
sgazlabdc01
31259
1.04
ለመረጃ ደህንነት ስጋቶች እንዴት ምላሽ እንደሚሰጡ በአስተያየቶቹ ውስጥ ይንገሩን። ምን ዓይነት ስርዓት ይጠቀማሉ እና ምን ያህል ምቹ ነው?
InTrustን በተግባር ለማየት ፍላጎት ካሎት፣
ስለ የመረጃ ደህንነት ሌሎች ጽሑፎቻችንን ያንብቡ፡-
ምንጭ: hab.com