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 06:47

General

  • Target

    JaffaCakes118_d8a4de298fd1ec4e0b885949fa5d0375ca800281956875179a14e40d1c245278.exe

  • Size

    219KB

  • MD5

    48db79b89beb4b17fabcbb7d8704873a

  • SHA1

    fd47d711e03b703937341a5ede33810601900963

  • SHA256

    d8a4de298fd1ec4e0b885949fa5d0375ca800281956875179a14e40d1c245278

  • SHA512

    2f76d3db69d906cfc4a154075ff92a4859c663dc8b24eac995d5822c4712744b0eb1092a3b0e3362687d999a4651c891460705aaa5bc2b2526afdda47bf7965b

  • SSDEEP

    3072:uUlCE+24yoqJOes39Snq7Mhy/oJlpWrxpzbgqru+sxkgaBChp9EuI:XV+TyoqIehgMewnuzbgwu7iga+E

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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_d8a4de298fd1ec4e0b885949fa5d0375ca800281956875179a14e40d1c245278.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d8a4de298fd1ec4e0b885949fa5d0375ca800281956875179a14e40d1c245278.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1080
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dykvrgp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1444
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dwrdhwh.exe" C:\Windows\SysWOW64\dykvrgp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4016
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dykvrgp binPath= "C:\Windows\SysWOW64\dykvrgp\dwrdhwh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d8a4de298fd1ec4e0b885949fa5d0375ca800281956875179a14e40d1c245278.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1636
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dykvrgp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4048
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dykvrgp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1084
    • 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:4180
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1080 -s 1044
      2⤵
      • Program crash
      PID:768
  • C:\Windows\SysWOW64\dykvrgp\dwrdhwh.exe
    C:\Windows\SysWOW64\dykvrgp\dwrdhwh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d8a4de298fd1ec4e0b885949fa5d0375ca800281956875179a14e40d1c245278.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2452
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4036
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2452 -s 520
      2⤵
      • Program crash
      PID:2596
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 2452 -ip 2452
    1⤵
      PID:4952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 1080 -ip 1080
      1⤵
        PID:1312

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        500a7a2bdb51f2e98c8f3f386f57717e

        SHA1

        549b5ce52dc5250269e52eb7476d9529ed63da95

        SHA256

        a108c5b44724b95101deae873a54e468ef8b445291294758d53be372d2b8da5e

        SHA512

        b1e88492084cc9f503e724aab7a60d2e36103faf21e6027d13018830f7f93a281f7961ec1bf91651f708774098ed4fff4d00ec099e2b6e0e7d6674af78651943

      • memory/1080-14-0x0000000000400000-0x0000000000441000-memory.dmp

        Filesize

        260KB

      • memory/1080-1-0x0000000000620000-0x0000000000633000-memory.dmp

        Filesize

        76KB

      • memory/1080-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1080-0-0x0000000000610000-0x000000000061D000-memory.dmp

        Filesize

        52KB

      • memory/1080-15-0x0000000000610000-0x000000000061D000-memory.dmp

        Filesize

        52KB

      • memory/1080-16-0x0000000000620000-0x0000000000633000-memory.dmp

        Filesize

        76KB

      • memory/1080-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2452-6-0x0000000000400000-0x0000000000441000-memory.dmp

        Filesize

        260KB

      • memory/2452-13-0x0000000000400000-0x0000000000441000-memory.dmp

        Filesize

        260KB

      • memory/2452-7-0x0000000000400000-0x0000000000441000-memory.dmp

        Filesize

        260KB

      • memory/4036-8-0x0000000000960000-0x0000000000975000-memory.dmp

        Filesize

        84KB

      • memory/4036-11-0x0000000000960000-0x0000000000975000-memory.dmp

        Filesize

        84KB

      • memory/4036-18-0x0000000000960000-0x0000000000975000-memory.dmp

        Filesize

        84KB

      • memory/4036-19-0x0000000000960000-0x0000000000975000-memory.dmp

        Filesize

        84KB

      • memory/4036-20-0x0000000000960000-0x0000000000975000-memory.dmp

        Filesize

        84KB