Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-10-2024 08:00

General

  • Target

    82645945c9bc63d23da8e355065d8169_JaffaCakes118.exe

  • Size

    12.5MB

  • MD5

    82645945c9bc63d23da8e355065d8169

  • SHA1

    4a487d6edbb8c9fa70a6296726788ff74e6a675c

  • SHA256

    378013409ea4fc145dcf70286fc119f61608b49411c7339af5755c09ad764217

  • SHA512

    5edd520a4d65a133acec61f4c4e074c999c17eaef31e3aedf32ad2e3d0804f80e4a510af86b28906e565934562329d99172b3a438350342bf57f73813557d866

  • SSDEEP

    98304:AWtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0:A

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\82645945c9bc63d23da8e355065d8169_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\82645945c9bc63d23da8e355065d8169_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3524
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\egnseyfx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2132
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ldiiphbf.exe" C:\Windows\SysWOW64\egnseyfx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5104
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create egnseyfx binPath= "C:\Windows\SysWOW64\egnseyfx\ldiiphbf.exe /d\"C:\Users\Admin\AppData\Local\Temp\82645945c9bc63d23da8e355065d8169_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3844
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description egnseyfx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start egnseyfx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3748
    • 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:1484
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3524 -s 1036
      2⤵
      • Program crash
      PID:1916
  • C:\Windows\SysWOW64\egnseyfx\ldiiphbf.exe
    C:\Windows\SysWOW64\egnseyfx\ldiiphbf.exe /d"C:\Users\Admin\AppData\Local\Temp\82645945c9bc63d23da8e355065d8169_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4624
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2888
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4624 -s 524
      2⤵
      • Program crash
      PID:1224
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3524 -ip 3524
    1⤵
      PID:3288
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4624 -ip 4624
      1⤵
        PID:1876

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        fe05f72bd87bde5e15ecfdf9ea8affcf

        SHA1

        cd30348c08dbc30b61d533be7fd11d90b5dff928

        SHA256

        554cadb494d60fccba057b5725c2b21f3b4e97721ee9bbb19070efff9c9cd7c6

        SHA512

        ed4602fcbce144344a011d1946af6226305e6338f16b293aafed44809f7a42620f6ec0e2ac2c00ebd11aefc3cd20042c91086b97ab97d65ae5cd5921d1a02447

      • memory/2888-11-0x00000000006C0000-0x00000000006D5000-memory.dmp

        Filesize

        84KB

      • memory/2888-13-0x00000000006C0000-0x00000000006D5000-memory.dmp

        Filesize

        84KB

      • memory/2888-14-0x00000000006C0000-0x00000000006D5000-memory.dmp

        Filesize

        84KB

      • memory/3524-1-0x0000000002F80000-0x0000000003080000-memory.dmp

        Filesize

        1024KB

      • memory/3524-2-0x0000000002F10000-0x0000000002F23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3524-9-0x0000000002F10000-0x0000000002F23000-memory.dmp

        Filesize

        76KB

      • memory/3524-8-0x0000000000400000-0x0000000002C68000-memory.dmp

        Filesize

        40.4MB

      • memory/4624-15-0x0000000000400000-0x0000000002C68000-memory.dmp

        Filesize

        40.4MB