Detection rules › Sigma

HackTool - Generic Process Access

Status
test
Severity
high
Log source
category process_access, product windows
Author
Nasreddine Bencherchali (Nextron Systems), Swachchhanda Shrawan Poudel
Source
github.com/SigmaHQ/sigma

Detects process access requests from hacktool processes based on their default image name

Known false positives

  • Unlikely

MITRE ATT&CK coverage

TacticTechniques
Credential Access

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 10: ProcessAccess

Rule body

title: HackTool - Generic Process Access
id: d0d2f720-d14f-448d-8242-51ff396a334e
status: test
description: Detects process access requests from hacktool processes based on their default image name
references:
    - https://jsecurity101.medium.com/bypassing-access-mask-auditing-strategies-480fb641c158
    - https://www.splunk.com/en_us/blog/security/you-bet-your-lsass-hunting-lsass-access.html
author: Nasreddine Bencherchali (Nextron Systems), Swachchhanda Shrawan Poudel
date: 2023-11-27
tags:
    - attack.credential-access
    - attack.t1003.001
    - attack.s0002
logsource:
    category: process_access
    product: windows
detection:
    selection:
        - SourceImage|endswith:
              - '\Akagi.exe'
              - '\Akagi64.exe'
              - '\atexec_windows.exe'
              - '\Certify.exe'
              - '\Certipy.exe'
              - '\CoercedPotato.exe'
              - '\crackmapexec.exe'
              - '\CreateMiniDump.exe'
              - '\dcomexec_windows.exe'
              - '\dpapi_windows.exe'
              - '\findDelegation_windows.exe'
              - '\GetADUsers_windows.exe'
              - '\GetNPUsers_windows.exe'
              - '\getPac_windows.exe'
              - '\getST_windows.exe'
              - '\getTGT_windows.exe'
              - '\GetUserSPNs_windows.exe'
              - '\gmer.exe'
              - '\hashcat.exe'
              - '\htran.exe'
              - '\ifmap_windows.exe'
              - '\impersonate.exe'
              - '\Inveigh.exe'
              - '\LocalPotato.exe'
              - '\mimikatz_windows.exe'
              - '\mimikatz.exe'
              - '\netview_windows.exe'
              - '\nmapAnswerMachine_windows.exe'
              - '\opdump_windows.exe'
              - '\PasswordDump.exe'
              - '\Potato.exe'
              - '\PowerTool.exe'
              - '\PowerTool64.exe'
              - '\psexec_windows.exe'
              - '\PurpleSharp.exe'
              - '\pypykatz.exe'
              - '\QuarksPwDump.exe'
              - '\rdp_check_windows.exe'
              - '\Rubeus.exe'
              - '\SafetyKatz.exe'
              - '\sambaPipe_windows.exe'
              - '\SelectMyParent.exe'
              - '\SharpChisel.exe'
              - '\SharPersist.exe'
              - '\SharpEvtMute.exe'
              - '\SharpImpersonation.exe'
              - '\SharpLDAPmonitor.exe'
              - '\SharpLdapWhoami.exe'
              - '\SharpUp.exe'
              - '\SharpView.exe'
              - '\smbclient_windows.exe'
              - '\smbserver_windows.exe'
              - '\sniff_windows.exe'
              - '\sniffer_windows.exe'
              - '\split_windows.exe'
              - '\SpoolSample.exe'
              - '\Stracciatella.exe'
              - '\SysmonEOP.exe'
              - '\temp\rot.exe'
              - '\ticketer_windows.exe'
              - '\TruffleSnout.exe'
              - '\winPEASany_ofs.exe'
              - '\winPEASany.exe'
              - '\winPEASx64_ofs.exe'
              - '\winPEASx64.exe'
              - '\winPEASx86_ofs.exe'
              - '\winPEASx86.exe'
              - '\xordump.exe'
        - SourceImage|contains:
              - '\goldenPac'
              - '\just_dce_'
              - '\karmaSMB'
              - '\kintercept'
              - '\LocalPotato'
              - '\ntlmrelayx'
              - '\rpcdump'
              - '\samrdump'
              - '\secretsdump'
              - '\smbexec'
              - '\smbrelayx'
              - '\wmiexec'
              - '\wmipersist'
              - 'HotPotato'
              - 'Juicy Potato'
              - 'JuicyPotato'
              - 'PetitPotam'
              - 'RottenPotato'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - SourceImage|endswith:
          - '\Akagi.exe'
          - '\Akagi64.exe'
          - '\atexec_windows.exe'
          - '\Certify.exe'
          - '\Certipy.exe'
          - '\CoercedPotato.exe'
          - '\crackmapexec.exe'
          - '\CreateMiniDump.exe'
          - '\dcomexec_windows.exe'
          - '\dpapi_windows.exe'
          - '\findDelegation_windows.exe'
          - '\GetADUsers_windows.exe'
          - '\GetNPUsers_windows.exe'
          - '\getPac_windows.exe'
          - '\getST_windows.exe'
          - '\getTGT_windows.exe'
          - '\GetUserSPNs_windows.exe'
          - '\gmer.exe'
          - '\hashcat.exe'
          - '\htran.exe'
          - '\ifmap_windows.exe'
          - '\impersonate.exe'
          - '\Inveigh.exe'
          - '\LocalPotato.exe'
          - '\mimikatz_windows.exe'
          - '\mimikatz.exe'
          - '\netview_windows.exe'
          - '\nmapAnswerMachine_windows.exe'
          - '\opdump_windows.exe'
          - '\PasswordDump.exe'
          - '\Potato.exe'
          - '\PowerTool.exe'
          - '\PowerTool64.exe'
          - '\psexec_windows.exe'
          - '\PurpleSharp.exe'
          - '\pypykatz.exe'
          - '\QuarksPwDump.exe'
          - '\rdp_check_windows.exe'
          - '\Rubeus.exe'
          - '\SafetyKatz.exe'
          - '\sambaPipe_windows.exe'
          - '\SelectMyParent.exe'
          - '\SharpChisel.exe'
          - '\SharPersist.exe'
          - '\SharpEvtMute.exe'
          - '\SharpImpersonation.exe'
          - '\SharpLDAPmonitor.exe'
          - '\SharpLdapWhoami.exe'
          - '\SharpUp.exe'
          - '\SharpView.exe'
          - '\smbclient_windows.exe'
          - '\smbserver_windows.exe'
          - '\sniff_windows.exe'
          - '\sniffer_windows.exe'
          - '\split_windows.exe'
          - '\SpoolSample.exe'
          - '\Stracciatella.exe'
          - '\SysmonEOP.exe'
          - '\temp\rot.exe'
          - '\ticketer_windows.exe'
          - '\TruffleSnout.exe'
          - '\winPEASany_ofs.exe'
          - '\winPEASany.exe'
          - '\winPEASx64_ofs.exe'
          - '\winPEASx64.exe'
          - '\winPEASx86_ofs.exe'
          - '\winPEASx86.exe'
          - '\xordump.exe'
    - SourceImage|contains:
          - '\goldenPac'
          - '\just_dce_'
          - '\karmaSMB'
          - '\kintercept'
          - '\LocalPotato'
          - '\ntlmrelayx'
          - '\rpcdump'
          - '\samrdump'
          - '\secretsdump'
          - '\smbexec'
          - '\smbrelayx'
          - '\wmiexec'
          - '\wmipersist'
          - 'HotPotato'
          - 'Juicy Potato'
          - 'JuicyPotato'
          - 'PetitPotam'
          - 'RottenPotato'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
SourceImageends_with
  • \Akagi.exe
  • \Akagi64.exe
  • \Certify.exe
  • \Certipy.exe
  • \CoercedPotato.exe
  • \CreateMiniDump.exe
  • \GetADUsers_windows.exe
  • \GetNPUsers_windows.exe
  • \GetUserSPNs_windows.exe
  • \Inveigh.exe
  • \LocalPotato.exe
  • \PasswordDump.exe
  • \Potato.exe
  • \PowerTool.exe
  • \PowerTool64.exe
  • \PurpleSharp.exe
  • \QuarksPwDump.exe
  • \Rubeus.exe
  • \SafetyKatz.exe
  • \SelectMyParent.exe
  • \SharPersist.exe
  • \SharpChisel.exe
  • \SharpEvtMute.exe
  • \SharpImpersonation.exe
  • \SharpLDAPmonitor.exe
  • \SharpLdapWhoami.exe
  • \SharpUp.exe
  • \SharpView.exe
  • \SpoolSample.exe
  • \Stracciatella.exe
  • \SysmonEOP.exe
  • \TruffleSnout.exe
  • \atexec_windows.exe
  • \crackmapexec.exe
  • \dcomexec_windows.exe
  • \dpapi_windows.exe
  • \findDelegation_windows.exe
  • \getPac_windows.exe
  • \getST_windows.exe
  • \getTGT_windows.exe
  • +28 more values (see full rule source)
field:"SourceImage" kind:ends_with
SourceImagematch
  • HotPotato
  • Juicy Potato
  • JuicyPotato
  • PetitPotam
  • RottenPotato
  • \LocalPotato
  • \goldenPac
  • \just_dce_
  • \karmaSMB
  • \kintercept
  • \ntlmrelayx
  • \rpcdump
  • \samrdump
  • \secretsdump
  • \smbexec
  • \smbrelayx
  • \wmiexec
  • \wmipersist
field:"SourceImage" kind:match