Analysis

  • max time kernel
    142s
  • max time network
    155s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-04-2024 13:33

General

  • Target

    26cf1fb6045f798cb624956dd361b97ea3dff8b950911008dfb5522df4059924.exe

  • Size

    221KB

  • MD5

    bb0693796c43e3b4954321a201c124a7

  • SHA1

    5066abedd5fd1aebc207a056b1a2af7d7999d583

  • SHA256

    26cf1fb6045f798cb624956dd361b97ea3dff8b950911008dfb5522df4059924

  • SHA512

    1e9a673951f26c1e081d3698145343056d81cd42c229feafd904f7cbc09096da8bb751de8263e0dd9e7482d162481ea7e723239d11a23f03547f1acf8d0d2b37

  • SSDEEP

    3072:EwJsPvd045hJkKkuW0MwA05h4TAQ2Jcx/MLm1nHvBQVy/eLWc8:gu45TkT0G2SLHvsae

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.

  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 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).

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 3 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\26cf1fb6045f798cb624956dd361b97ea3dff8b950911008dfb5522df4059924.exe
    "C:\Users\Admin\AppData\Local\Temp\26cf1fb6045f798cb624956dd361b97ea3dff8b950911008dfb5522df4059924.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:5056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pkqrxbzo\
      2⤵
        PID:1592
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sqfngwrn.exe" C:\Windows\SysWOW64\pkqrxbzo\
        2⤵
          PID:3852
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create pkqrxbzo binPath= "C:\Windows\SysWOW64\pkqrxbzo\sqfngwrn.exe /d\"C:\Users\Admin\AppData\Local\Temp\26cf1fb6045f798cb624956dd361b97ea3dff8b950911008dfb5522df4059924.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1352
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description pkqrxbzo "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1756
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start pkqrxbzo
          2⤵
          • Launches sc.exe
          PID:2580
        • 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:4284
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5056 -s 1228
          2⤵
          • Program crash
          PID:2076
      • C:\Windows\SysWOW64\pkqrxbzo\sqfngwrn.exe
        C:\Windows\SysWOW64\pkqrxbzo\sqfngwrn.exe /d"C:\Users\Admin\AppData\Local\Temp\26cf1fb6045f798cb624956dd361b97ea3dff8b950911008dfb5522df4059924.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2852
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:4280
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2852 -s 556
          2⤵
          • Program crash
          PID:3760
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 2852 -ip 2852
        1⤵
          PID:2992
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 5056 -ip 5056
          1⤵
            PID:4380

          Network

          MITRE ATT&CK Matrix ATT&CK v13

          Persistence

          Create or Modify System Process

          2
          T1543

          Windows Service

          2
          T1543.003

          Boot or Logon Autostart Execution

          1
          T1547

          Registry Run Keys / Startup Folder

          1
          T1547.001

          Privilege Escalation

          Create or Modify System Process

          2
          T1543

          Windows Service

          2
          T1543.003

          Boot or Logon Autostart Execution

          1
          T1547

          Registry Run Keys / Startup Folder

          1
          T1547.001

          Defense Evasion

          Impair Defenses

          1
          T1562

          Disable or Modify System Firewall

          1
          T1562.004

          Modify Registry

          1
          T1112

          Discovery

          Query Registry

          1
          T1012

          System Information Discovery

          2
          T1082

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\sqfngwrn.exe
            Filesize

            11.6MB

            MD5

            c2389ad9a46e686696e203ff84223519

            SHA1

            7a362b2a5854552e4ab1ebfb5f0335258c1f9804

            SHA256

            462c390a2d87b741323d516c55eca70ee12344bd6c056b990a7fae0ee6b097cd

            SHA512

            7b8fd2a563d1ca1d5d4828faf6754d4c97eb89add180175ba7fff5c71e8d1c474c5f5766410d14a25b5b637a5ea1f443642ad75b9af806e63406f4411e35a345

          • memory/2852-10-0x0000000000400000-0x00000000008E8000-memory.dmp
            Filesize

            4.9MB

          • memory/2852-9-0x0000000000B10000-0x0000000000B23000-memory.dmp
            Filesize

            76KB

          • memory/2852-15-0x0000000000400000-0x00000000008E8000-memory.dmp
            Filesize

            4.9MB

          • memory/2852-8-0x0000000000B30000-0x0000000000C30000-memory.dmp
            Filesize

            1024KB

          • memory/4280-12-0x0000000000540000-0x0000000000555000-memory.dmp
            Filesize

            84KB

          • memory/4280-16-0x0000000000540000-0x0000000000555000-memory.dmp
            Filesize

            84KB

          • memory/4280-19-0x0000000000540000-0x0000000000555000-memory.dmp
            Filesize

            84KB

          • memory/4280-20-0x0000000000540000-0x0000000000555000-memory.dmp
            Filesize

            84KB

          • memory/4280-22-0x0000000000540000-0x0000000000555000-memory.dmp
            Filesize

            84KB

          • memory/5056-1-0x0000000000990000-0x0000000000A90000-memory.dmp
            Filesize

            1024KB

          • memory/5056-11-0x0000000000400000-0x00000000008E8000-memory.dmp
            Filesize

            4.9MB

          • memory/5056-4-0x0000000000400000-0x00000000008E8000-memory.dmp
            Filesize

            4.9MB

          • memory/5056-2-0x0000000000AA0000-0x0000000000AB3000-memory.dmp
            Filesize

            76KB

          • memory/5056-17-0x0000000000400000-0x00000000008E8000-memory.dmp
            Filesize

            4.9MB