Analysis

  • max time kernel
    166s
  • max time network
    173s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-04-2024 03:01

General

  • Target

    f95be8bb765824a57b98f01e4101e6e5_JaffaCakes118.exe

  • Size

    11.6MB

  • MD5

    f95be8bb765824a57b98f01e4101e6e5

  • SHA1

    cf9efeb3adcf6d529494a5064c2eb6278b3346c2

  • SHA256

    387ca39819c3cbacbd451cf8dd67a51be3d494417e07121bee55e894f24a40e3

  • SHA512

    5db9fd1e71f1dc1aeac8166b359ff31c7a04080831c06837ddccf7fd9a3b29e884d8880af5f20f27c1d1774b106d14213a3bf9dae162e1ada5578fdcf33aaf52

  • SSDEEP

    24576:GjDuKnh7YzbKBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBn:Gnh

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) 1 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.

  • 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f95be8bb765824a57b98f01e4101e6e5_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f95be8bb765824a57b98f01e4101e6e5_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2832
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qwrevki\
      2⤵
        PID:1988
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\aatgspoq.exe" C:\Windows\SysWOW64\qwrevki\
        2⤵
          PID:912
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qwrevki binPath= "C:\Windows\SysWOW64\qwrevki\aatgspoq.exe /d\"C:\Users\Admin\AppData\Local\Temp\f95be8bb765824a57b98f01e4101e6e5_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:5040
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qwrevki "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1936
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qwrevki
          2⤵
          • Launches sc.exe
          PID:2972
        • 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
          PID:2428
      • C:\Windows\SysWOW64\qwrevki\aatgspoq.exe
        C:\Windows\SysWOW64\qwrevki\aatgspoq.exe /d"C:\Users\Admin\AppData\Local\Temp\f95be8bb765824a57b98f01e4101e6e5_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2948
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:1172

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.3MB

        MD5

        b740a2c2eb1b2264cc0efb62f7a425da

        SHA1

        9d8deb9d6ee4d8054b1cefbc82d4574268abfaf4

        SHA256

        ce24c59acd31c91feaad1e86b81da93668b7be2633c6c2c647a7385e5cc6473b

        SHA512

        5fc426ac6e1040601450aa607a145ad0d355f5990ae6993970ecacd3c3c5c2c9e6a77388907c09c450e0825a9d1f0997c0dc35fec75ee6b7c0a3a6f56d0cfd31

      • memory/1172-28-0x0000000000950000-0x0000000000965000-memory.dmp

        Filesize

        84KB

      • memory/1172-11-0x0000000000950000-0x0000000000965000-memory.dmp

        Filesize

        84KB

      • memory/1172-14-0x0000000000950000-0x0000000000965000-memory.dmp

        Filesize

        84KB

      • memory/1172-17-0x0000000000950000-0x0000000000965000-memory.dmp

        Filesize

        84KB

      • memory/1172-18-0x0000000000950000-0x0000000000965000-memory.dmp

        Filesize

        84KB

      • memory/2832-21-0x00000000006D0000-0x00000000007D0000-memory.dmp

        Filesize

        1024KB

      • memory/2832-2-0x0000000002070000-0x0000000002083000-memory.dmp

        Filesize

        76KB

      • memory/2832-3-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2832-8-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2832-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

        Filesize

        1024KB

      • memory/2832-24-0x0000000002070000-0x0000000002083000-memory.dmp

        Filesize

        76KB

      • memory/2948-10-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2948-16-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2948-9-0x0000000000750000-0x0000000000850000-memory.dmp

        Filesize

        1024KB