Analysis

  • max time kernel
    147s
  • max time network
    144s
  • platform
    windows7_x64
  • resource
    win7-20230220-en
  • resource tags

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

General

  • Target

    file.exe

  • Size

    235KB

  • MD5

    cebfc9645b080c19ca29154ed4fbe4ab

  • SHA1

    2de92713f76bbfd4f455be2146c5e890ea41e6a0

  • SHA256

    8299a18a6f137c931988ad6e1f68e99240c02fc765bdf37beb652b39d91fa822

  • SHA512

    4836f50f24f3320370e54ab35ea695ef4f8e2008757192ae5b93581b28a108c40792bd515053f2af8f1446df59c8d6c30b1334426aea790b8854393875f2cd8e

  • SSDEEP

    3072:bUPv9wTIHrDRHV5JCdezw0OU9c0WAwnxLYdNfD/e8h1lGtYEZllNHwh+LOb3TYtq:QHKIHZVnCD0PVU6bGHZf5sLbDYt+

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
  • 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 1 IoCs
  • Suspicious use of SetThreadContext 1 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 2 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1976
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\oqfgwhll\
      2⤵
        PID:1944
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\semjpcig.exe" C:\Windows\SysWOW64\oqfgwhll\
        2⤵
          PID:1688
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create oqfgwhll binPath= "C:\Windows\SysWOW64\oqfgwhll\semjpcig.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description oqfgwhll "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:468
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start oqfgwhll
          2⤵
          • Launches sc.exe
          PID:1740
        • 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:1768
      • C:\Windows\SysWOW64\oqfgwhll\semjpcig.exe
        C:\Windows\SysWOW64\oqfgwhll\semjpcig.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1656
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:1328

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        04ae37d1dfae0c1464a638a137ad1063

        SHA1

        e79f75ceaf560d1ec4edede4aa8452fe5b4a8545

        SHA256

        a5cbca289855fcd62e03cbb762288c94426fd4718ec0c25e228670b89c2a3533

        SHA512

        1b9c8a8c27f655cc6f423602ca55b3b6e5bdb1a72eace76691968982ae59c0c54b71c558c9705b6048e01400a5325d665d4ae78932777fdefca62cd7181d7ce8

      • C:\Windows\SysWOW64\oqfgwhll\semjpcig.exe

        Filesize

        13.5MB

        MD5

        04ae37d1dfae0c1464a638a137ad1063

        SHA1

        e79f75ceaf560d1ec4edede4aa8452fe5b4a8545

        SHA256

        a5cbca289855fcd62e03cbb762288c94426fd4718ec0c25e228670b89c2a3533

        SHA512

        1b9c8a8c27f655cc6f423602ca55b3b6e5bdb1a72eace76691968982ae59c0c54b71c558c9705b6048e01400a5325d665d4ae78932777fdefca62cd7181d7ce8

      • memory/1328-61-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/1328-60-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1328-71-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1656-64-0x0000000000400000-0x00000000006BB000-memory.dmp

        Filesize

        2.7MB

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

        Filesize

        76KB

      • memory/1976-62-0x0000000000400000-0x00000000006BB000-memory.dmp

        Filesize

        2.7MB