Analysis

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

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    16-04-2023 06:32

General

  • Target

    file.exe

  • Size

    347KB

  • MD5

    0c1708ed3939df691fcc921eeca929e8

  • SHA1

    1423af702026959fb660354fdab5252f7342b763

  • SHA256

    a71e5f2db834e7eb59cb1089a56dbd3e0b3dfcfc605efb9a8a42b17d3f19445c

  • SHA512

    502ee675cb930d2f12e7c7f012296831fcefef2c27983dcc9f15d0f41616cbf9857f5bc63d22849d419ac7d4ca80cc6aa9809c1ba4c6343a4b45ddc935e0784c

  • SSDEEP

    6144:ieI4cg3BjROHIH8SOm28gIk1nvPCX6tbe4:iercM3OHIH8zmwIk1vPQ6tq4

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). Likely ransomware behaviour.

  • 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:2012
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tkzlcirn\
      2⤵
        PID:1996
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\foufdsk.exe" C:\Windows\SysWOW64\tkzlcirn\
        2⤵
          PID:1948
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tkzlcirn binPath= "C:\Windows\SysWOW64\tkzlcirn\foufdsk.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:432
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tkzlcirn "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1412
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tkzlcirn
          2⤵
          • Launches sc.exe
          PID:1452
        • 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:1584
      • C:\Windows\SysWOW64\tkzlcirn\foufdsk.exe
        C:\Windows\SysWOW64\tkzlcirn\foufdsk.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1724
        • 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:912

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        cf9b2531117ca12898505fbc58757ba9

        SHA1

        fac7d0b6d4c246831bebc552bcf73f70d62644cb

        SHA256

        4de58db758aab148a35609882523b7361f6fd2fc997e000106e38c0554ef0f2c

        SHA512

        57e77d851804536c7702d084aafaa0be07faf9e0d9cb60cf20e4e25b064815f60e47ba0031ebbcb1627956630bf5497130d793e8c4f9f55c372482f717632138

      • C:\Windows\SysWOW64\tkzlcirn\foufdsk.exe

        Filesize

        14.7MB

        MD5

        cf9b2531117ca12898505fbc58757ba9

        SHA1

        fac7d0b6d4c246831bebc552bcf73f70d62644cb

        SHA256

        4de58db758aab148a35609882523b7361f6fd2fc997e000106e38c0554ef0f2c

        SHA512

        57e77d851804536c7702d084aafaa0be07faf9e0d9cb60cf20e4e25b064815f60e47ba0031ebbcb1627956630bf5497130d793e8c4f9f55c372482f717632138

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

        Filesize

        4KB

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

        Filesize

        84KB

      • memory/912-62-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1724-63-0x0000000000400000-0x00000000007FC000-memory.dmp

        Filesize

        4.0MB

      • memory/2012-56-0x0000000000230000-0x0000000000243000-memory.dmp

        Filesize

        76KB

      • memory/2012-66-0x0000000000400000-0x00000000007FC000-memory.dmp

        Filesize

        4.0MB