Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 22:10

General

  • Target

    JaffaCakes118_ea371cd3d1ac8c8787e90acfa0c4022e6b770fcbc5dc996ea95e4af15ed8e46a.exe

  • Size

    153KB

  • MD5

    b1206e4d87af6babdbe3b4ca43a9bcad

  • SHA1

    8be00ab261754a95589aa67ed147ff169ef124d0

  • SHA256

    ea371cd3d1ac8c8787e90acfa0c4022e6b770fcbc5dc996ea95e4af15ed8e46a

  • SHA512

    6a4ae0319e3a83b679e81e9496ec365d14fe0c4dd91eefb6dcea3e5fec8151ea67761e32ee24bc5710121f021f73062bab3a7dd2806c789ad2d7724c9fb34b08

  • SSDEEP

    3072:I1R6lAXozVklu0SzKei5pgE+BHMZu0Oyz:I762XCVKSHV8Oc

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\JaffaCakes118_ea371cd3d1ac8c8787e90acfa0c4022e6b770fcbc5dc996ea95e4af15ed8e46a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ea371cd3d1ac8c8787e90acfa0c4022e6b770fcbc5dc996ea95e4af15ed8e46a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2844
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wkjlpeln\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1040
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xjqkpviq.exe" C:\Windows\SysWOW64\wkjlpeln\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2432
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wkjlpeln binPath= "C:\Windows\SysWOW64\wkjlpeln\xjqkpviq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ea371cd3d1ac8c8787e90acfa0c4022e6b770fcbc5dc996ea95e4af15ed8e46a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4244
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wkjlpeln "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wkjlpeln
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1112
    • 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:2576
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2844 -s 1184
      2⤵
      • Program crash
      PID:4036
  • C:\Windows\SysWOW64\wkjlpeln\xjqkpviq.exe
    C:\Windows\SysWOW64\wkjlpeln\xjqkpviq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ea371cd3d1ac8c8787e90acfa0c4022e6b770fcbc5dc996ea95e4af15ed8e46a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3992
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1220
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3992 -s 508
      2⤵
      • Program crash
      PID:4912
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2844 -ip 2844
    1⤵
      PID:4908
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 3992 -ip 3992
      1⤵
        PID:2972

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.4MB

        MD5

        e0b658f501b20b5d845493558ae86b6b

        SHA1

        9e8d7efbb038ec188517668d015504cb5cd83f9f

        SHA256

        e3fe6f603dd49c482d06a82d670fb13426448707ac5c6180173859deae7b2500

        SHA512

        7521827815f6af126f68708e4e37356d8751fa1fd82b3f75b7a01c2e3f24467e46fec2b1b909e08f04fe4b8963af45b34e8469d08885cff386727b184cfb3c0c

      • memory/1220-14-0x0000000000B40000-0x0000000000B55000-memory.dmp

        Filesize

        84KB

      • memory/1220-16-0x0000000000B40000-0x0000000000B55000-memory.dmp

        Filesize

        84KB

      • memory/1220-17-0x0000000000B40000-0x0000000000B55000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2844-2-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

      • memory/2844-9-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2844-8-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/2844-1-0x00000000004C0000-0x00000000005C0000-memory.dmp

        Filesize

        1024KB

      • memory/3992-11-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/3992-13-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/3992-12-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/3992-18-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB