Analysis

  • max time kernel
    145s
  • max time network
    144s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-11-2024 22:48

General

  • Target

    9119f2bf0f3d575dce916735bfee6d40_JaffaCakes118.exe

  • Size

    10.9MB

  • MD5

    9119f2bf0f3d575dce916735bfee6d40

  • SHA1

    3df2a3dbea0fac124dcc12c51adab22e90587717

  • SHA256

    07806de6097678888d093bb67843be36c53f8c88af87e78ba3b936aca6b79e74

  • SHA512

    b7030e213cdeac5945da8f2bc5cd3ddb6b4b6bd244b07540cbe78ce7545e5630e1e554cabdad5f63ff752e8e6994367c35de1411fcdc2b8a40b789fa9122f1d0

  • SSDEEP

    49152:XwAKFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFV:Xw

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 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
  • 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\9119f2bf0f3d575dce916735bfee6d40_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\9119f2bf0f3d575dce916735bfee6d40_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4028
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lpqwhpm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\aynztpaq.exe" C:\Windows\SysWOW64\lpqwhpm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lpqwhpm binPath= "C:\Windows\SysWOW64\lpqwhpm\aynztpaq.exe /d\"C:\Users\Admin\AppData\Local\Temp\9119f2bf0f3d575dce916735bfee6d40_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3992
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lpqwhpm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lpqwhpm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3980
    • 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
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:3556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4028 -s 600
      2⤵
      • Program crash
      PID:3312
  • C:\Windows\SysWOW64\lpqwhpm\aynztpaq.exe
    C:\Windows\SysWOW64\lpqwhpm\aynztpaq.exe /d"C:\Users\Admin\AppData\Local\Temp\9119f2bf0f3d575dce916735bfee6d40_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:964
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:948
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 964 -s 512
      2⤵
      • Program crash
      PID:4460
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 4028 -ip 4028
    1⤵
      PID:3904
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 964 -ip 964
      1⤵
        PID:2544

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        5239db8bf62dcf583aefc4b47411bd1a

        SHA1

        c1b572927dd0a1525742bd82e9c1e28b12482d33

        SHA256

        95d535305db3b49f0f09ddb822f8a7e289c901b8ceaf37a2e3f57a32d033f732

        SHA512

        13e4ee5c3a5338d8cd8482deb8348f7f868ef5ba43899de4b086057f8489d08fe1e2d1381e34581412a4ea7ddf6e5ab341ddc02345cabdbb0c26b3ca7b94fd27

      • memory/948-11-0x0000000001090000-0x00000000010A5000-memory.dmp

        Filesize

        84KB

      • memory/948-13-0x0000000001090000-0x00000000010A5000-memory.dmp

        Filesize

        84KB

      • memory/948-14-0x0000000001090000-0x00000000010A5000-memory.dmp

        Filesize

        84KB

      • memory/964-15-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB

      • memory/4028-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/4028-1-0x0000000002ED0000-0x0000000002FD0000-memory.dmp

        Filesize

        1024KB

      • memory/4028-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4028-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4028-9-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/4028-8-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB