Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

NRT Base64 Encoded Windows Process Command-lines

Back
Idc3e5dbaa-a540-408c-8b36-68bdfb3df088
RulenameNRT Base64 Encoded Windows Process Command-lines
DescriptionThis detection identifies instances of a base64 encoded PE file header seen in the process command line parameter.
SeverityMedium
TacticsExecution
DefenseEvasion
TechniquesT1059
T1027
T1140
Required data connectorsSecurityEvents
WindowsSecurityEvents
KindNRT
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Windows Security Events/Analytic Rules/NRT_base64_encoded_pefile.yaml
Version1.0.2
Arm templatec3e5dbaa-a540-408c-8b36-68bdfb3df088.json
Deploy To Azure
SecurityEvent
 | where EventID == 4688
 | where isnotempty(CommandLine)
 | where CommandLine contains "TVqQAAMAAAAEAAA"
 | extend HostName = tostring(split(Computer, '.', 0)[0]), DnsDomain = tostring(strcat_array(array_slice(split(Computer, '.'), 1, -1), '.'))
query: |
  SecurityEvent
   | where EventID == 4688
   | where isnotempty(CommandLine)
   | where CommandLine contains "TVqQAAMAAAAEAAA"
   | extend HostName = tostring(split(Computer, '.', 0)[0]), DnsDomain = tostring(strcat_array(array_slice(split(Computer, '.'), 1, -1), '.'))  
name: NRT Base64 Encoded Windows Process Command-lines
entityMappings:
- fieldMappings:
  - columnName: SubjectAccount
    identifier: FullName
  - columnName: SubjectUserName
    identifier: Name
  - columnName: SubjectDomainName
    identifier: NTDomain
  entityType: Account
- fieldMappings:
  - columnName: Computer
    identifier: FullName
  - columnName: HostName
    identifier: HostName
  - columnName: DnsDomain
    identifier: DnsDomain
  entityType: Host
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Windows Security Events/Analytic Rules/NRT_base64_encoded_pefile.yaml
description: |
    'This detection identifies instances of a base64 encoded PE file header seen in the process command line parameter.'
kind: NRT
version: 1.0.2
status: Available
severity: Medium
requiredDataConnectors:
- connectorId: SecurityEvents
  dataTypes:
  - SecurityEvent
- connectorId: WindowsSecurityEvents
  dataTypes:
  - SecurityEvent
tactics:
- Execution
- DefenseEvasion
id: c3e5dbaa-a540-408c-8b36-68bdfb3df088
relevantTechniques:
- T1059
- T1027
- T1140