Query: Sigma rule for Detect usage of the "coregen.exe" (Microsoft CoreCLR Native Image Generator) binary to sideload arbitrary DLLs.
Matching passage: Sigma rule: Detect usage of the "coregen.exe" (Microsoft CoreCLR Native Image Generator) binary to sideload arbitrary DLLs.. Logsource: windows / image_load. Rule: title: Potential DLL Sideloading Using Coregen.exe id: 0fa66f66-e3f6-4a9c-93f8-4f2610b00171 status: test description: Detect usage of the "coregen.exe" (Microsoft CoreCLR Native Image Generator) binary to sideload arbitrary DLLs. references: - https://lolbas-project.github.io/lolbas/OtherMSBinaries/Coregen/ author: frack113 date: 2022-12-31 tags: - attack.privilege-escalation - attack.stealth - attack.t1218 - attack.t1055 logsource: category: image_load product: windows detection: selection: Image|endswith: \coregen.exe filter_main_legit_paths: ImageLoaded|startswith: - C:\Program Files (x86)\Microsoft Silverlight\ - C:\Program Files\Microsoft Silverlight\ - C:\Windows\System32\ - C:\Windows\SysWOW64\ condition: selection and not 1 of filter_main_* falsepositives: - Unknown level: medium
Near-miss passage: Sigma rule: Adversaries may look for details about the network configuration and settings of systems they access or through informat. Logsource: windows / process_creation. Rule: title: HackTool - SharpView Execution id: b2317cfa-4a47-4ead-b3ff-297438c0bc2d related: - id: dcd74b95-3f36-4ed9-9598-0490951643aa type: similar status: test description: Adversaries may look for details about the network configuration and settings of systems they access or through information discovery of remote systems references: - https://github.com/tevora-threat/SharpView/ - https://github.com/PowerShellMafia/PowerSploit/blob/d943001a7defb5e0d1657085a77a0e78609be58f/Recon/PowerView.ps1 - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1049/T1049.md#atomic-test-4---system-discovery-using-sharpview author: frack113 date: 2021-12-10 modified: 2023-02-14 tags: - attack.discovery - attack.t1049 - attack.t1069.002 - attack.t1482 - attack.t1135 - attack.t1033 logsource: category: process_creation product: windows detection: selection: - OriginalFileName: SharpView.exe - Image|endswith: \SharpView.exe - CommandLine|contains: - Add-RemoteConnection - Convert-ADName - ConvertFrom-SID - ConvertFrom-UACValue - Convert-SidToName - Export-PowerViewCSV - Find-DomainObjectPropertyOutlier - Find-DomainProcess - Find-DomainShare - Find-DomainUserEvent - Find-DomainUserLocation - Find-ForeignGroup - Find-ForeignUser - Find-GPOComputerAdmin - Find-GPOLocation - Find-Interesting - Find-LocalAdminAccess - Find-ManagedSecurityGroups - Get-CachedRDPConnection - Get-DFSshare - Get-DomainComputer - Get-DomainController - Get-DomainDFSShare - Get-DomainDNSRecord - Get-DomainFileServer - Get-DomainForeign - Get-DomainGPO - Get-DomainGroup - Get-DomainGUIDMap - Get-DomainManagedSecurityGroup - Get-DomainObject - Get-DomainOU - Get-DomainPolicy - Get-DomainSID - Get-DomainSite - Get-DomainSPNTicket - Get-DomainSubnet - Get-DomainTrust - Get-DomainUserEvent - Get-ForestDomain - Get-ForestGlobalCatalog - Get-ForestTrust - Get-GptTmpl - Get-GroupsXML - Get-LastLoggedOn - Get-LoggedOnLocal - Get-NetComputer - Get-NetDomain - Get-NetFileServer - Get-NetForest - Get-NetGPO - Get-NetGroupMember - Get-NetLocalGroup - Get-NetLoggedon - Get-NetOU - Get-NetProcess - Get-NetRDPSession - Get-NetSession - Get-NetShare - Get-NetSite - Get-NetSubnet - Get-NetUser - Get-PathAcl - Get-PrincipalContext - Get-RegistryMountedDrive - Get-RegLoggedOn - Get-WMIRegCachedRDPConnection - Get-WMIRegLastLoggedOn - Get-WMIRegMountedDrive - Get-WMIRegProxy - Invoke-ACLScanner - Invoke-CheckLocalAdminAccess - Invoke-Kerberoast - Invoke-MapDomainTrust - Invoke