Analysis

  • max time kernel
    158s
  • max time network
    181s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    04-06-2022 13:33

General

  • Target

    101512df3ce4c79c8f763e779e8d0cf1bfe31089b7107eb384280c3f6adc40b7.exe

  • Size

    137KB

  • MD5

    d621a78cf6343c38fa7356b7a2846ddd

  • SHA1

    8037750152302eeffddab9e0efe93967bbafd582

  • SHA256

    101512df3ce4c79c8f763e779e8d0cf1bfe31089b7107eb384280c3f6adc40b7

  • SHA512

    6c3144dc20bc6048456bb6330b93df1566d969971334259e393c15e38c1f282e24f982ea28400b53283a6b538d4a7fcbe6283cad0fe24b8f45cd26bdc4c70ef4

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 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.

  • 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). Likely ransomware behaviour.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\101512df3ce4c79c8f763e779e8d0cf1bfe31089b7107eb384280c3f6adc40b7.exe
    "C:\Users\Admin\AppData\Local\Temp\101512df3ce4c79c8f763e779e8d0cf1bfe31089b7107eb384280c3f6adc40b7.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3848
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ujspello\
      2⤵
        PID:1516
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\avzbenmy.exe" C:\Windows\SysWOW64\ujspello\
        2⤵
          PID:5108
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ujspello binPath= "C:\Windows\SysWOW64\ujspello\avzbenmy.exe /d\"C:\Users\Admin\AppData\Local\Temp\101512df3ce4c79c8f763e779e8d0cf1bfe31089b7107eb384280c3f6adc40b7.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4136
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ujspello "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4208
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ujspello
          2⤵
          • Launches sc.exe
          PID:3492
        • 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:4764
      • C:\Windows\SysWOW64\ujspello\avzbenmy.exe
        C:\Windows\SysWOW64\ujspello\avzbenmy.exe /d"C:\Users\Admin\AppData\Local\Temp\101512df3ce4c79c8f763e779e8d0cf1bfe31089b7107eb384280c3f6adc40b7.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:636
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:4120

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Persistence

      New Service

      1
      T1050

      Modify Existing Service

      1
      T1031

      Registry Run Keys / Startup Folder

      1
      T1060

      Privilege Escalation

      New Service

      1
      T1050

      Defense Evasion

      Modify Registry

      1
      T1112

      Discovery

      Query Registry

      1
      T1012

      System Information Discovery

      2
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\avzbenmy.exe
        Filesize

        12.6MB

        MD5

        aaf4495053daf47df8d6474345f87e34

        SHA1

        b1ff558016361d22b276b24e45896ea46c858610

        SHA256

        4aa2934ff300abb8fcacbc0c12ca87bb8b6e65764120455f895ff9f0b29a4f45

        SHA512

        b51396acddf9a2f1581c6cb8fb01fee4f85f63619a8826a8b3557ccc8d5064848cb6cf8c464639d23a2977a72bccf419f8c62c1a2fd4f07e9ea7edcd952dd2be

      • C:\Windows\SysWOW64\ujspello\avzbenmy.exe
        Filesize

        12.6MB

        MD5

        aaf4495053daf47df8d6474345f87e34

        SHA1

        b1ff558016361d22b276b24e45896ea46c858610

        SHA256

        4aa2934ff300abb8fcacbc0c12ca87bb8b6e65764120455f895ff9f0b29a4f45

        SHA512

        b51396acddf9a2f1581c6cb8fb01fee4f85f63619a8826a8b3557ccc8d5064848cb6cf8c464639d23a2977a72bccf419f8c62c1a2fd4f07e9ea7edcd952dd2be

      • memory/636-139-0x0000000000400000-0x0000000000425000-memory.dmp
        Filesize

        148KB

      • memory/1516-131-0x0000000000000000-mapping.dmp
      • memory/3492-136-0x0000000000000000-mapping.dmp
      • memory/3848-130-0x0000000000400000-0x0000000000425000-memory.dmp
        Filesize

        148KB

      • memory/4120-140-0x0000000000000000-mapping.dmp
      • memory/4120-141-0x0000000000590000-0x00000000005A5000-memory.dmp
        Filesize

        84KB

      • memory/4120-143-0x0000000000590000-0x00000000005A5000-memory.dmp
        Filesize

        84KB

      • memory/4120-144-0x0000000000590000-0x00000000005A5000-memory.dmp
        Filesize

        84KB

      • memory/4120-145-0x0000000000590000-0x00000000005A5000-memory.dmp
        Filesize

        84KB

      • memory/4136-134-0x0000000000000000-mapping.dmp
      • memory/4208-135-0x0000000000000000-mapping.dmp
      • memory/4764-137-0x0000000000000000-mapping.dmp
      • memory/5108-132-0x0000000000000000-mapping.dmp