Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20-10-2024 11:38

General

  • Target

    620a6aa248abe66526d392b56d679d58_JaffaCakes118.exe

  • Size

    13.0MB

  • MD5

    620a6aa248abe66526d392b56d679d58

  • SHA1

    c3954ad0f42747c38404871941b5633373e0c55f

  • SHA256

    f49eff0c9a64e982b1eac981a010b608ca2ca902d5555206fe53b259c5979d33

  • SHA512

    b58aa0d57c417d7365abfa91935ff7a15d25e0b0f973c6f90e24f67067dfd94b1dfad0fea2cc8118223e2c8df1cb88eed479e273fcaa7ab8527bf283cc495471

  • SSDEEP

    24576:AW/EClxN7llllllllllllllllllllllllllllllllllllllllllllllllllllll9:A4HN

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.

  • 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 3 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\620a6aa248abe66526d392b56d679d58_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\620a6aa248abe66526d392b56d679d58_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5092
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\liydlctb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dpwqvbow.exe" C:\Windows\SysWOW64\liydlctb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create liydlctb binPath= "C:\Windows\SysWOW64\liydlctb\dpwqvbow.exe /d\"C:\Users\Admin\AppData\Local\Temp\620a6aa248abe66526d392b56d679d58_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2356
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description liydlctb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2800
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start liydlctb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2104
    • 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:1104
  • C:\Windows\SysWOW64\liydlctb\dpwqvbow.exe
    C:\Windows\SysWOW64\liydlctb\dpwqvbow.exe /d"C:\Users\Admin\AppData\Local\Temp\620a6aa248abe66526d392b56d679d58_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:872
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4616
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 872 -s 664
      2⤵
      • Program crash
      PID:1552
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 872 -s 716
      2⤵
      • Program crash
      PID:1516
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 872 -s 724
      2⤵
      • Program crash
      PID:1924
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 872 -ip 872
    1⤵
      PID:404
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 872 -ip 872
      1⤵
        PID:2168
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 872 -ip 872
        1⤵
          PID:4724

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          12.9MB

          MD5

          4d0f44add803fe89e3aaafaac5197830

          SHA1

          b86b361730ad22475082fb04ec76c602a7efb63a

          SHA256

          f17dd6de49f184294190a0541bf48b2b2add5f45b717aab1f44d685636017572

          SHA512

          d64efe09b4c193d85164800e766c981c2de317bccc5a3db5873763674cf42bfb51e1308cc89023a7d262e8eb3ff842e82048388be4b85e714c4a1e4752cab903

        • memory/872-11-0x0000000000400000-0x000000000044E000-memory.dmp

          Filesize

          312KB

        • memory/872-17-0x0000000000400000-0x000000000044E000-memory.dmp

          Filesize

          312KB

        • memory/872-12-0x0000000000400000-0x000000000044E000-memory.dmp

          Filesize

          312KB

        • memory/4616-15-0x0000000000910000-0x0000000000925000-memory.dmp

          Filesize

          84KB

        • memory/4616-13-0x0000000000910000-0x0000000000925000-memory.dmp

          Filesize

          84KB

        • memory/4616-16-0x0000000000910000-0x0000000000925000-memory.dmp

          Filesize

          84KB

        • memory/5092-9-0x00000000009F0000-0x0000000000A03000-memory.dmp

          Filesize

          76KB

        • memory/5092-8-0x0000000000400000-0x000000000044E000-memory.dmp

          Filesize

          312KB

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

          Filesize

          84KB

        • memory/5092-2-0x00000000009F0000-0x0000000000A03000-memory.dmp

          Filesize

          76KB

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

          Filesize

          84KB

        • memory/5092-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

          Filesize

          1024KB