Analysis

  • max time kernel
    146s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-09-2024 00:18

General

  • Target

    e5d35b9f9e694af69ed798d96405ef26_JaffaCakes118.exe

  • Size

    10.2MB

  • MD5

    e5d35b9f9e694af69ed798d96405ef26

  • SHA1

    3dcb74328e61cadef3fa47b8424643887dccf976

  • SHA256

    ac5364943ce772981848a4b8b0093ef8dd0427bc32f0424b1cd1964e04d948b6

  • SHA512

    f7bc9e348fd9a8a52676839d0b940699309e94a8691e0f11611aec7989a27ffe934742b33e275473c92f68b6712c1b28aa43b902593a861906214e8019aaceeb

  • SSDEEP

    196608:Hffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff/:

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 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\e5d35b9f9e694af69ed798d96405ef26_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\e5d35b9f9e694af69ed798d96405ef26_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2472
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\szgavfir\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2076
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oiekvfxd.exe" C:\Windows\SysWOW64\szgavfir\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create szgavfir binPath= "C:\Windows\SysWOW64\szgavfir\oiekvfxd.exe /d\"C:\Users\Admin\AppData\Local\Temp\e5d35b9f9e694af69ed798d96405ef26_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:644
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description szgavfir "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start szgavfir
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4828
    • 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:2644
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2472 -s 892
      2⤵
      • Program crash
      PID:1400
  • C:\Windows\SysWOW64\szgavfir\oiekvfxd.exe
    C:\Windows\SysWOW64\szgavfir\oiekvfxd.exe /d"C:\Users\Admin\AppData\Local\Temp\e5d35b9f9e694af69ed798d96405ef26_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3168
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:564
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3168 -s 512
      2⤵
      • Program crash
      PID:4272
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 2472 -ip 2472
    1⤵
      PID:3048
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 3168 -ip 3168
      1⤵
        PID:1948

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        3a376c0bbf8dd40f62253dbc4d17c648

        SHA1

        158a7be254f97951ce512eb9127ce433d4fd1774

        SHA256

        6d7428bcd7b19921a89c1caf182a353e29103d6440b0c4f79ef79865e266548b

        SHA512

        fdaeefac9464c46e8e5c7dfa155b4520ee6f343cfbc059af8e6eb16ec3b0a7d9756c7502b119fa26a010e3ff837d777800179e9c6b68b5fd246a07b784cba0b5

      • memory/564-14-0x00000000001E0000-0x00000000001F5000-memory.dmp

        Filesize

        84KB

      • memory/564-17-0x00000000001E0000-0x00000000001F5000-memory.dmp

        Filesize

        84KB

      • memory/564-16-0x00000000001E0000-0x00000000001F5000-memory.dmp

        Filesize

        84KB

      • memory/2472-8-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2472-9-0x0000000000850000-0x0000000000863000-memory.dmp

        Filesize

        76KB

      • memory/2472-1-0x0000000000880000-0x0000000000980000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2472-2-0x0000000000850000-0x0000000000863000-memory.dmp

        Filesize

        76KB

      • memory/3168-12-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3168-11-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3168-13-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3168-19-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB