Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-04-2024 11:44

General

  • Target

    ff33e300d05739184f8b619c6c0b3655_JaffaCakes118.exe

  • Size

    12.6MB

  • MD5

    ff33e300d05739184f8b619c6c0b3655

  • SHA1

    5ba18dc0534a01afa24c27dc36ac9ceb01bcfa91

  • SHA256

    f6bb05628a5c7b46bde51f556687ee0d06723b97db383e0863677b63d662e42b

  • SHA512

    1f5da43990f2fdf7d567e7da33677f45304a8211d56bd017f22b84c804bcdb1cd65cddde2d5fc16e774b1c59eeae46d5adf58225521451a86c004a9dbdf63947

  • SSDEEP

    12288:6ZH3jactctctctctctctctctctctctctctctctctctctctctctctctctctctctcS:61T

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.

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\ff33e300d05739184f8b619c6c0b3655_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ff33e300d05739184f8b619c6c0b3655_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ivdrsply\
      2⤵
        PID:1764
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xniuoaew.exe" C:\Windows\SysWOW64\ivdrsply\
        2⤵
          PID:1556
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ivdrsply binPath= "C:\Windows\SysWOW64\ivdrsply\xniuoaew.exe /d\"C:\Users\Admin\AppData\Local\Temp\ff33e300d05739184f8b619c6c0b3655_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4060
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ivdrsply "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2820
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ivdrsply
          2⤵
          • Launches sc.exe
          PID:1952
        • 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:1580
      • C:\Windows\SysWOW64\ivdrsply\xniuoaew.exe
        C:\Windows\SysWOW64\ivdrsply\xniuoaew.exe /d"C:\Users\Admin\AppData\Local\Temp\ff33e300d05739184f8b619c6c0b3655_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3264
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1920

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        8187eabdb13da66a8f7a127d7cea0aa0

        SHA1

        d22c62eefa5aa35260f1b0b5c7d16b3d06b49303

        SHA256

        e2cd282888273956a973eceb426652b5236f73745c387b8162dc7e4019bd715f

        SHA512

        608facf89d0fbf80134d6681a8945aec97c576c15f2c4054e72f461117faabcb82b6331073f76c52b4afab44eadf988a5aa6f63bdf5fd716c967db02e60b37de

      • memory/1920-11-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/1920-14-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/1920-17-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/1920-18-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/1920-19-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/3264-10-0x0000000002D30000-0x0000000002E30000-memory.dmp

        Filesize

        1024KB

      • memory/3264-16-0x0000000000400000-0x0000000002CB9000-memory.dmp

        Filesize

        40.7MB

      • memory/4716-4-0x0000000000400000-0x0000000002CB9000-memory.dmp

        Filesize

        40.7MB

      • memory/4716-2-0x00000000048C0000-0x00000000048D3000-memory.dmp

        Filesize

        76KB

      • memory/4716-8-0x0000000000400000-0x0000000002CB9000-memory.dmp

        Filesize

        40.7MB

      • memory/4716-9-0x00000000048C0000-0x00000000048D3000-memory.dmp

        Filesize

        76KB

      • memory/4716-1-0x0000000002CC0000-0x0000000002DC0000-memory.dmp

        Filesize

        1024KB