General
- Target nuclei_3.10.0_windows_amd64.zip
- Size 41.5MB
- Sample260705-wsv6csav4p
- SHA256 c4c16fc832ba46b78e1a062966bb38e1793679dbdd79d5a5422b3b8605a606b3
- MD5 b5a48d79b4a76a15e6948c3ad2141fad
- SHA1 4d4b625356c1030d791e12332dad7b8da7eaf60b
- SHA512 daa86337c390fe7161fbb683077baba8092bbb40217a953f3e31223aa310f470f6fa128b674a8c082b4cc08c64677f58bff2b1509ff685a0147792c0870f18a1
- SSDEEP 786432:mhbgXVay71zQ/wrCd7fSOfGAI4OAoHZXUd9hnr0kow79GcesM:Ub0Vac10zd2tAI9tJy9V0fSM
- TLSH T1D49733C1E9C0B1BD2BE69F110AEF1246DAE693426CD58013FE8959D2C4E1F36346D5F8
- MD5 SHA1 SHA512 SSDEEP TLSH
Behavioral task
behavioral1
Sample
nuclei.exe
Resource
win10v2004-20260513-en
Behavioral task
behavioral2
Sample
nuclei.exe
Resource
win11ltsc2024-20260629-en
Malware Config
Extracted
-
gafgyt
-
8.8.8.8:538
Extracted
-
C:\Users\Admin\nuclei-templates\cloud\gcp\compute\gcloud-vm-disk-csek-not-enabled.yaml
- id: gcloud-vm-disk-csek-not-enabled info: name: Virtual Machine Disk Encryption with Customer-Supplied Keys Not Enabled author: princechaddha severity: high description: | Ensure that the disks attached to your production Google Compute Engine instances are encrypted with Customer-Supplied Encryption Keys (CSEKs) in order to have complete control over the data-at-rest encryption and decryption process. CSEKs allow you to provide your own encryption keys that Google Compute Engine uses to protect the Google-generated keys used to encrypt and decrypt your instance data. impact: | Without CSEK encryption, you have limited control over the encryption process of your VM disk data. Google Compute Engine service manages the encryption keys, which may not meet strict compliance requirements for sensitive data. remediation: | Re-create your VM instances with Customer-Supplied Encryption Keys (CSEKs) by providing a 256-bit string encoded in RFC 4648 standard base64 during instance creation. Note that Compute Engine does not store your CSEKs on its servers and cannot access your protected data unless you provide the required key. reference: - https://www.trendmicro.com/cloudoneconformity/knowledge-base/gcp/ComputeEngine/enable-encryption-with-csek.html - https://cloud.google.com/compute/docs/disks/customer-supplied-encryption tags: cloud,devops,gcp,gcloud,compute,encryption,csek,security,gcp-cloud-config flow: | code(1) for(let projectId of iterate(template.projectIds)){ set("projectId", projectId) code(2) for(let instance of iterate(template.instances)){ instance = JSON.parse(instance) set("instanceName", instance.name) set("zone", instance.zone) code(3) for(let disk of iterate(template.disks)){ set("diskName", disk) code(4) } } } self-contained: true code: - engine: - sh - bash source: | gcloud projects list --format="json(projectId)" extractors: - type: json name: projectIds internal: true json: - '.[].projectId' - engine: - sh - bash source: | gcloud compute instances list --project $projectId --format="json(name,zone.basename())" extractors: - type: json name: instances internal: true json: - '.[]' - engine: - sh - bash source: | gcloud compute instances describe $instanceName --zone $zone --project $projectId --format="json(disks[].deviceName)" extractors: - type: json name: disks internal: true json: - '.disks[].deviceName' - engine: - sh - bash source: | gcloud compute disks describe $diskName --zone $zone --project $projectId --format="json(diskEncryptionKey.sha256)" | jq '. // "null"' matchers: - type: word words: - "null" extractors: - type: dsl dsl: - '"Disk " + diskName + " attached to instance " + instanceName + " in zone " + zone + " of project " + projectId + " is not encrypted with a Customer-Supplied Encryption Key (CSEK)"' # digest: 4b0a00483046022100c2ddf98deb81b73823578ad0f0b7a5cdcb19b78a9b724b0a8fda299bff5a09b2022100aa01c142410c386168a489b065a27d1e0b089bde93147ac022b6bbb88de194a5:922c64590222798bb761d5b6d8e72950
-
https://www.trendmicro.com/cloudoneconformity/knowledge-base/gcp/ComputeEngine/enable-encryption-with-csek.html
-
https://cloud.google.com/compute/docs/disks/customer-supplied-encryption
Extracted
-
C:\Users\Admin\nuclei-templates\cloud\gcp\iam\gcloud-iam-unrestricted-decryption.yaml
- id: gcloud-iam-unrestricted-decryption info: name: IAM Users with Unrestricted Data Decryption Permissions author: princechaddha severity: medium description: | Ensure that IAM users with data decryption permissions should use conditions to enforce strict controls, enhancing data protection and reducing risks of unauthorized decryption. For compliance, the Cloud KMS CryptoKey Decrypter (roles/cloudkms.cryptoKeyDecrypter), Cloud KMS Crypto Operator (roles/cloudkms.cryptoOperator), and Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter) roles must have a condition preventing data decryption with any KMS key. impact: | Without conditions on decryption permissions, IAM users can decrypt data using any KMS key in the project, potentially leading to unauthorized access to sensitive data. remediation: | Add IAM conditions to roles that allow decryption operations, restricting access to specific KMS keys. This can be done using resource.type and resource.name conditions in the IAM policy. reference: - https://www.trendmicro.com/cloudoneconformity/knowledge-base/gcp/IAM/decryption-with-all-keys-not-allowed.html - https://cloud.google.com/kms/docs/reference/permissions-and-roles tags: cloud,devops,gcp,gcloud,iam,security,encryption,kms,gcp-cloud-config flow: | code(1) for(let projectId of iterate(template.projectIds)){ set("projectId", projectId) code(2) } self-contained: true code: - engine: - sh - bash source: | gcloud projects list --format="json(projectId)" extractors: - type: json name: projectIds internal: true json: - '.[].projectId' - engine: - sh - bash source: | gcloud projects get-iam-policy $projectId --format="json(bindings[?(@.role=='roles/cloudkms.cryptoKeyDecrypter' || @.role=='roles/cloudkms.cryptoOperator' || @.role=='roles/cloudkms.cryptoKeyEncrypterDecrypter')])" matchers: - type: word words: - '"condition":' negative: true extractors: - type: dsl dsl: - '"Project " + projectId + " has IAM users with unrestricted decryption permissions that can access all KMS keys"' # digest: 490a00463044022012b07c04fff07c91b88ee8cd99e7411c0e7d79981f997ef24f1673f40235e490022055de031c4e4baf88803b9dbe0bc30fe24c5edbf8c3d04fe0f8ff3bce3b68316e:922c64590222798bb761d5b6d8e72950
-
https://www.trendmicro.com/cloudoneconformity/knowledge-base/gcp/IAM/decryption-with-all-keys-not-allowed.html
-
https://cloud.google.com/kms/docs/reference/permissions-and-roles
Targets
-
- Target nuclei.exe
- Size 131.1MB
- SHA256 2079d913d3d7b8c5e5c77dd93c4cf2bebac3f3bbd8121564bff495c9354e5110
- MD5 a417c7aa94436b1e161607ebfb352593
- SHA1 f615b606bc3981941240341677a0c08713c73d31
- SHA512 4ef4b430bfc5d2625c6173e63d283a82e44783b0b163644f3c61648c41231303f44e389f8655eddebc4a444a1217977330ce4b82fed2a1dba0658097b57fe32d
- SSDEEP 786432:y7ArbKiC+bzawk0hO+bKosRGdE452wZmZjKRj7rLdHDBMZSvpR:eArbKiNbzawk0jeosRGdE/KRj7l
- TLSH T15B684867F96590A0C5ADC4368662C9A37B707D4A872023D73ADCBF1D2F36BD056BA340
- MD5 SHA1 SHA512 SSDEEP TLSH
-
DiamondFox stealer
-
Family: DiamondFox
DiamondFox is a multipurpose botnet with many capabilities.