Analysis

  • max time kernel
    104s
  • max time network
    123s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231130-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231130-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-12-2023 14:06

General

  • Target

    FACTURAS.js

  • Size

    944B

  • MD5

    25d05d7da40ef51ff088cfbd3746a74f

  • SHA1

    3c08a86611c54e2bcb77f45f12442d271b5d806c

  • SHA256

    4040480a88c5deea6892453bf0b1cd86d29b879f00f04bce1b8739e0f08290cc

  • SHA512

    903489a9cb106d4bef03ad0073015a6007743331616facd49e36ce4661076c1e013191abd613308c6801890987b317af2483d974d8b694a21f0cee2cbcf5469e

Malware Config

Extracted

Family

agenttesla

C2

https://api.telegram.org/bot6846062945:AAGabPi9vxKPIKfVbRT2fLEd-Rnu3DtD_6I/

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • Blocklisted process makes network request 4 IoCs
  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 1 IoCs
  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 3 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\FACTURAS.js
    1⤵
    • Blocklisted process makes network request
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4992
    • C:\Users\Admin\AppData\Roaming\FACTURAS.exe
      "C:\Users\Admin\AppData\Roaming\FACTURAS.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2380

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Roaming\FACTURAS.exe

    Filesize

    244KB

    MD5

    82b1416c0fcf97ac7aae6c308dde69c8

    SHA1

    df4775ea8402c5dd06a024c81be735a567ce5d2d

    SHA256

    727ba9875751b31232339f91003c267e9e80631e908e84b05d05960c85d18184

    SHA512

    bea12f70ef9309af2e2093b816ef1daf5096c03ec5492d962ba80fcd8f775451206b8cc3e869144c7a104801ab65e3b8d156829fa7e2580763aa564e38f67a9b

  • C:\Users\Admin\AppData\Roaming\FACTURAS.exe

    Filesize

    244KB

    MD5

    82b1416c0fcf97ac7aae6c308dde69c8

    SHA1

    df4775ea8402c5dd06a024c81be735a567ce5d2d

    SHA256

    727ba9875751b31232339f91003c267e9e80631e908e84b05d05960c85d18184

    SHA512

    bea12f70ef9309af2e2093b816ef1daf5096c03ec5492d962ba80fcd8f775451206b8cc3e869144c7a104801ab65e3b8d156829fa7e2580763aa564e38f67a9b

  • C:\Users\Admin\AppData\Roaming\FACTURAS.exe

    Filesize

    244KB

    MD5

    82b1416c0fcf97ac7aae6c308dde69c8

    SHA1

    df4775ea8402c5dd06a024c81be735a567ce5d2d

    SHA256

    727ba9875751b31232339f91003c267e9e80631e908e84b05d05960c85d18184

    SHA512

    bea12f70ef9309af2e2093b816ef1daf5096c03ec5492d962ba80fcd8f775451206b8cc3e869144c7a104801ab65e3b8d156829fa7e2580763aa564e38f67a9b

  • memory/2380-20-0x0000000000F50000-0x0000000000F94000-memory.dmp

    Filesize

    272KB

  • memory/2380-21-0x0000000074830000-0x0000000074FE0000-memory.dmp

    Filesize

    7.7MB

  • memory/2380-22-0x0000000005F50000-0x00000000064F4000-memory.dmp

    Filesize

    5.6MB

  • memory/2380-23-0x0000000005B30000-0x0000000005B40000-memory.dmp

    Filesize

    64KB

  • memory/2380-24-0x00000000059A0000-0x0000000005A06000-memory.dmp

    Filesize

    408KB

  • memory/2380-25-0x0000000006ED0000-0x0000000006F20000-memory.dmp

    Filesize

    320KB

  • memory/2380-26-0x0000000006FC0000-0x000000000705C000-memory.dmp

    Filesize

    624KB

  • memory/2380-27-0x0000000007100000-0x0000000007192000-memory.dmp

    Filesize

    584KB

  • memory/2380-28-0x00000000070A0000-0x00000000070AA000-memory.dmp

    Filesize

    40KB

  • memory/2380-29-0x0000000074830000-0x0000000074FE0000-memory.dmp

    Filesize

    7.7MB

  • memory/2380-30-0x0000000005B30000-0x0000000005B40000-memory.dmp

    Filesize

    64KB