Lucene search
+L

Exodus Android Spyware Detection

🗓️ 31 Mar 2019 00:00:00Reported by Copyright (C) 2019 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 24 Views

Remote Android device infected by Exodus spyware using ports 6200 or 684

Refs
Code
# Copyright (C) 2019 Greenbone Networks GmbH
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.108563");
  script_version("2021-04-16T06:57:08+0000");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"2021-04-16 06:57:08 +0000 (Fri, 16 Apr 2021)");
  script_tag(name:"creation_date", value:"2019-03-31 12:08:27 +0000 (Sun, 31 Mar 2019)");
  script_name("Exodus Android Spyware Detection");
  script_category(ACT_ATTACK);
  script_family("Malware");
  script_copyright("Copyright (C) 2019 Greenbone Networks GmbH");
  script_dependencies("find_service.nasl");
  script_require_ports(6200, 6842);

  script_tag(name:"summary", value:"The remote Android device seems to be infected by the Exodus spyware.");

  script_tag(name:"vuldetect", value:"- opens a connection to port 6200/tcp and/or 6842/tcp

  - sends an additional 'sh' command on port 6200/tcp

  - checks the response if the remote device is infected and provides a remote shell");

  script_tag(name:"solution", value:"A whole cleanup of the infected system is recommended.");

  script_xref(name:"URL", value:"https://www.securitywithoutborders.org/blog/2019/03/29/exodus.html");

  script_tag(name:"solution_type", value:"Mitigation");
  script_tag(name:"qod_type", value:"remote_banner");

  exit(0);
}

include("misc_func.inc");
include("host_details.inc");
include("os_func.inc");
include("socket_func.inc");

cmds = exploit_commands( "linux" );

foreach port( make_list( 6200, 6842 ) ) {

  if( ! get_port_state( port ) )
    continue;

  if( ! soc = open_sock_tcp( port ) )
    continue;

  if( port == 6200 ) {
    res = socket_send_recv( soc:soc, data:'sh\n', length:64 );
  } else {
    res = socket_send_recv( soc:soc, length:64 );
  }

  if( ! res || res !~ ":[/~].*[\$#]" ) {
    close( soc );
    continue;
  }

  foreach pattern( keys( cmds ) ) {

    cmd = cmds[ pattern ];

    res = socket_send_recv( soc:soc, data:cmd + '\n', length:64 );
    if( ! res )
      continue;

    if( egrep( pattern:pattern, string:res ) ) {
      close( soc );
      security_message( port:port, data:'The Exodus Android Spyware seems to be running at this port.\n\nResponse:\n\n' + res );
      exit( 0 );
    }
  }
  close( soc );
}

exit( 0 );

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

16 Apr 2021 00:00Current
7.3High risk
Vulners AI Score7.3
24