Analysis

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

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

General

  • Target

    file.exe

  • Size

    234KB

  • MD5

    e9de43f24d8b6f5be55ef6971d3d14e5

  • SHA1

    ca701f416d520ed37a6b5103dc8358a53c896410

  • SHA256

    02ada88638528eb89e67ce30a88ca8a58efab167c389ffd893641459bc64666f

  • SHA512

    2ccddd5bda9366a0bd39fa2334ee27f4220816d69569d6d6f064e43ebe5e26c01fa17cfee17197c2e2151501b874ef1d88503a1e4ba40ca36f45e3c062ccdeba

  • SSDEEP

    3072:jVPQzmAd7g0wS/+NvCTrKxdOZIyp+Uq3urvbWUWNiHvv5+kQ54A5W4OCNZ:aBOSearQdN7KoOv8i6Z

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:2032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wzvlnxjn\
      2⤵
        PID:1996
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wiqntgmk.exe" C:\Windows\SysWOW64\wzvlnxjn\
        2⤵
          PID:964
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wzvlnxjn binPath= "C:\Windows\SysWOW64\wzvlnxjn\wiqntgmk.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:652
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wzvlnxjn "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1464
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wzvlnxjn
          2⤵
          • Launches sc.exe
          PID:864
        • 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:1748
      • C:\Windows\SysWOW64\wzvlnxjn\wiqntgmk.exe
        C:\Windows\SysWOW64\wzvlnxjn\wiqntgmk.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1308
        • 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:1656
          • 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:1468

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.9MB

        MD5

        445eeb0fa8aa062fc88393c7246d6dc5

        SHA1

        c2c6faaf4f15419d44b642c8bf17d04a271a8b81

        SHA256

        395460414a61c671e5bae85c26d3b83c00004f2c7066060ee90a1aad6800e7b3

        SHA512

        87ebd0663b47648890daa2c26225f2dd779c59b02412de59df9740672ee23522cb893f59ba5f56d2ea866bf7cd87d974c60556011760a36a0a52bb0ecd5f02a9

      • C:\Windows\SysWOW64\wzvlnxjn\wiqntgmk.exe

        Filesize

        11.9MB

        MD5

        445eeb0fa8aa062fc88393c7246d6dc5

        SHA1

        c2c6faaf4f15419d44b642c8bf17d04a271a8b81

        SHA256

        395460414a61c671e5bae85c26d3b83c00004f2c7066060ee90a1aad6800e7b3

        SHA512

        87ebd0663b47648890daa2c26225f2dd779c59b02412de59df9740672ee23522cb893f59ba5f56d2ea866bf7cd87d974c60556011760a36a0a52bb0ecd5f02a9

      • memory/1308-65-0x0000000000400000-0x00000000006B7000-memory.dmp

        Filesize

        2.7MB

      • memory/1468-111-0x0000000000160000-0x0000000000251000-memory.dmp

        Filesize

        964KB

      • memory/1468-124-0x0000000000160000-0x0000000000251000-memory.dmp

        Filesize

        964KB

      • memory/1468-122-0x0000000000160000-0x0000000000251000-memory.dmp

        Filesize

        964KB

      • memory/1468-123-0x0000000000160000-0x0000000000251000-memory.dmp

        Filesize

        964KB

      • memory/1468-121-0x0000000000160000-0x0000000000251000-memory.dmp

        Filesize

        964KB

      • memory/1468-120-0x0000000000160000-0x0000000000251000-memory.dmp

        Filesize

        964KB

      • memory/1468-119-0x0000000000160000-0x0000000000251000-memory.dmp

        Filesize

        964KB

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

        Filesize

        4KB

      • memory/1468-112-0x0000000000160000-0x0000000000251000-memory.dmp

        Filesize

        964KB

      • memory/1656-88-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-95-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-78-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-81-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-82-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-83-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-84-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-85-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-86-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-87-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

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

        Filesize

        4KB

      • memory/1656-89-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-90-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-91-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-92-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-93-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-94-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-75-0x0000000000190000-0x0000000000196000-memory.dmp

        Filesize

        24KB

      • memory/1656-96-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

      • memory/1656-97-0x0000000000210000-0x0000000000220000-memory.dmp

        Filesize

        64KB

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

        Filesize

        20KB

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

        Filesize

        20KB

      • memory/1656-102-0x00000000059E0000-0x0000000005DEB000-memory.dmp

        Filesize

        4.0MB

      • memory/1656-105-0x00000000059E0000-0x0000000005DEB000-memory.dmp

        Filesize

        4.0MB

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

        Filesize

        28KB

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

        Filesize

        84KB

      • memory/1656-74-0x00000000017E0000-0x00000000019EF000-memory.dmp

        Filesize

        2.1MB

      • memory/1656-71-0x00000000017E0000-0x00000000019EF000-memory.dmp

        Filesize

        2.1MB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2032-56-0x00000000003A0000-0x00000000003B3000-memory.dmp

        Filesize

        76KB

      • memory/2032-60-0x0000000000400000-0x00000000006B7000-memory.dmp

        Filesize

        2.7MB