Analysis

  • max time kernel
    150s
  • 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
    27-12-2024 00:03

General

  • Target

    JaffaCakes118_753ec892deb630e1b540058617837fdfaeabdae4078bc0917c055a805d4752e7.exe

  • Size

    279KB

  • MD5

    295cc2519a6559471017d7cfa7963906

  • SHA1

    48d5984d57e5efa254fe2557488274f3845874bf

  • SHA256

    753ec892deb630e1b540058617837fdfaeabdae4078bc0917c055a805d4752e7

  • SHA512

    eeffc54acd8c1a38b8401b111829259de886fcf42da365612453a1b2a14943712a73298663e9d864df2260e805c22bdbcaf05082c1deaec917ea22b1f3d7970d

  • SSDEEP

    6144:2ExHiDcpQKTyzmBosTPI3K3XROhxxpeTr/ekIw:ZHiIpQFmi2Yzxp6L

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_753ec892deb630e1b540058617837fdfaeabdae4078bc0917c055a805d4752e7.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_753ec892deb630e1b540058617837fdfaeabdae4078bc0917c055a805d4752e7.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ydwarkes\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\elomnndr.exe" C:\Windows\SysWOW64\ydwarkes\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ydwarkes binPath= "C:\Windows\SysWOW64\ydwarkes\elomnndr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_753ec892deb630e1b540058617837fdfaeabdae4078bc0917c055a805d4752e7.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2436
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ydwarkes "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3720
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ydwarkes
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3508
    • 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:2560
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3760 -s 1172
      2⤵
      • Program crash
      PID:5068
  • C:\Windows\SysWOW64\ydwarkes\elomnndr.exe
    C:\Windows\SysWOW64\ydwarkes\elomnndr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_753ec892deb630e1b540058617837fdfaeabdae4078bc0917c055a805d4752e7.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3908
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1708
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3908 -s 532
      2⤵
      • Program crash
      PID:3184
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3760 -ip 3760
    1⤵
      PID:4600
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 512 -p 3908 -ip 3908
      1⤵
        PID:4808

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        4d75266853f51c47b60971fddd3cd856

        SHA1

        3f413324b969b858021f61c7e2a289df243b39a3

        SHA256

        e9a296e2c2b63ca77096efdd0b332e9de4491723eee808f20a4c507c21ce3f22

        SHA512

        a7006c1a8863ea28f96f3de10171ec47444efc3adf7b7ce62a0268591737a16121320856eb94ffaaa85a51d7ce4a68b247d93b668618dc16d73de6c09f54bda2

      • memory/1708-14-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

      • memory/1708-17-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

      • memory/1708-16-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

      • memory/3760-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3760-1-0x00000000006F0000-0x00000000007F0000-memory.dmp

        Filesize

        1024KB

      • memory/3760-8-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB

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

        Filesize

        84KB

      • memory/3760-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/3908-12-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB

      • memory/3908-11-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB

      • memory/3908-13-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB

      • memory/3908-18-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB