# SLES 10 SP2 Sql date entry modify by hacker

**URL:** <https://forums.suse.com/t/sles-10-sp2-sql-date-entry-modify-by-hacker/21973>\
**Category:** SLES Networking\
**Created:** [December 1, 2011, 3:46pm UTC](https://forums.suse.com/t/sles-10-sp2-sql-date-entry-modify-by-hacker/21973 "2011-12-01T15:46:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [December 1, 2011, 3:46pm UTC](https://forums.suse.com/t/sles-10-sp2-sql-date-entry-modify-by-hacker/21973/1 "2011-12-01T15:46:02Z")

</div>

Hi,

How can start to trace problem, sql date entry file modify by  
[hacker@hacker.org](mailto:hacker@hacker.org)???

/var/log/messags only found many ftp testing Authentication failed .

Allow port  
FTP : 21  
HTTP: 80  
HTTPS: 443  
Domain : 53  
VNC: 5901

Thanks.

## – hoiyi88

hoiyi88’s Profile: [http://forums.novell.com/member.php?userid=107113](http://forums.novell.com/member.php?userid=107113)  
View this thread: [http://forums.novell.com/showthread.php?t=448977](http://forums.novell.com/showthread.php?t=448977)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [December 1, 2011, 3:51pm UTC](https://forums.suse.com/t/sles-10-sp2-sql-date-entry-modify-by-hacker/21973/2 "2011-12-01T15:51:27Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

If you had setup your machine to send log messages to another host then  
you could check that host for messages which, unless it too was  
compromised, would be intact and safer to read. How much damage was  
done depends on how somebody gets in, but if they were able to get  
‘root’ access then unless you were watching ahead of time in a very  
verbose way with logs sent to another machine you’re going to have a  
hard time tracking this down because they would have had access to undo  
anything that you did.

Good luck.  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v2.0.15 (GNU/Linux)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org/](http://enigmail.mozdev.org/)

iQIcBAEBAgAGBQJO14ZVAAoJEF+XTK08PnB5gXQP/2pthHzmUta7pALkQzD2FEQe  
kqDmtekkrLgdvYogCCvLG3KkohAcDVjPblXX43NRYoa4UTFjnUyu2APqQk//oeSt  
Ha25nA6Itq1Igvrb2tIuV57yRCUCxdS4JgUT2egZU9LAGTBWGW27sLDU3luk/i/t  
klmOS7618wiO2jBMgtMGFVQ5+LcybLiqtxQynb+TO+MI76P5dmDyIGuHIvGgtwQD  
cgSbSNuSjUzwlMWZWaJ33Yb5PkophGu8HvECm7QgkTW1MsXl3MxuYcSMDjAVoCIc  
ymvuM95IA/x82p9aDsDL8RoBJUeL+S7XqY3+F0WSJ8Pm/x9Bj13edb9QeYXM9H8C  
RiYTo3jsaXd0Di33pbkAs8uf8WUmtS0gu29HYMaBmQPywr+F4wk+VFIWBKyr/kai  
Cv2incqi8W9j/GpGSD/2glCr5VYXOl1+riRQVXwvxOvbw9lKLmIRVb1b1YNPCTHa  
95pVv6c41recTGBqOvUxD15tbOpZ39WO3tDSzoAM+MzbXYLRSVLBXeItDdnBqNBi  
7ie6E6eJxcENTB43mC+pcFiktdmgVa1Tx6Px3HrHA360uZEfgwXRpaElxe/U8PPI  
KtQqK6O7znVc3RlCGD/wYH2YwoP/CXG/JqjuAHt0bgC1xHr7dsXcqXrSNahCfJvH  
17pOiDMiwmSTPspXnQXo  
=oHsN  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [December 4, 2011, 3:56pm UTC](https://forums.suse.com/t/sles-10-sp2-sql-date-entry-modify-by-hacker/21973/3 "2011-12-04T15:56:02Z")

</div>

change all user password, stop ftp service. don’t it work or not.

## – hoiyi88

hoiyi88’s Profile: [http://forums.novell.com/member.php?userid=107113](http://forums.novell.com/member.php?userid=107113)  
View this thread: [http://forums.novell.com/showthread.php?t=448977](http://forums.novell.com/showthread.php?t=448977)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [December 4, 2011, 10:56pm UTC](https://forums.suse.com/t/sles-10-sp2-sql-date-entry-modify-by-hacker/21973/4 "2011-12-04T22:56:01Z")

</div>

Hi,

You don’t need passwords is you have vulnerable scripts or malware php  
scripts. If you don;t have an AV solution, you need one. Try AVG,  
its free, it works. Once installed do a basic scan: _avgscan -x  
/var/lib/ntp/proc -P -p -r ~/avgscan.log /_ Evil will show up in the  
logs as follows:

## Code:

## /build/event/a.2/linux9 Virus identified Linux/Brk.B /build/event/ijoo/bot/xh Virus identified Linux/ProcHider.C /build/event/infected.surveys.businessOfficer.r57.php Trojan horse PHP/BackDoor.R57Shell /build/event/infected.lib.ldd.so/tks Virus identified Linux/Sysniff.B /build/event/infected.sbin.syslogd Virus identified Linux/Agent2.AA /build/event/infected.usr.bin.slocate Virus identified Linux/Agent.V

Any of that stuff means you have been infested with a backdoor that  
lets them do whatever they like, whenever they like. If your full scan  
comes up clean ( thats good! ) then its a poorly written script allowing  
SQL injection, or whatever…

Please look at your HTTP logs ( e.g. /var/log/apache2/access\_log and  
error\_log ) and look for SQL or Perl injection. Perl injection  
typically have a lot of semicolons. For example:

## Code:

"GET /scgi-bin/awstats/awstats.pl?configdir=|echo;echo%20YYYAAZ;uname;id;echo%20YYY;echo|  
"GET /cgi-bin/awstats.pl?configdir=|echo;echo%20YYYAAZ;uname;id;;echo%20YYY;echo|  
"GET /cgi-bin/awstats/awstats.pl?configdir=|echo;echo%20YYYAAZ;uname;id;echo%20YYY;echo|  
"GET /cgi/awstats/awstats.pl?configdir=|echo;echo%20YYYAAZ;uname;id;echo%20YYY;echo|  
"GET /main.php?cmd=setquality&var1=1%27.passthru%28%27id%27%29.%27;  
"GET /scgi-bin/stats/awstats.pl?configdir=|echo;echo%20YYYAAZ;uname;id;echo%20YYY;echo|  
"GET /phpalbum/main.php?cmd=setquality&var1=1%27.passthru%28%27id%27%29.%27;  
"GET /cgi-bin/stats/awstats.pl?configdir=|echo;echo%20YYYAAZ;uname;id;echo%20YYY;echo|  
"GET /scgi-bin/awstats.pl?configdir=|echo;echo%20YYYAAZ;uname;id;echo%20YYY;echo|

* * *

SQL injection is similar. You’ll see SQL statements being injected.

You can tell if these are being executed by comparing to the error\_log  
entries.

Google any of these topics, they are not, in any way SLES specific.

– Bob

## – Bob Mahar – Novell Knowledge Partner Do you do what you do at a .EDU? [http://novell.com/ttp](http://novell.com/ttp) “Programming is like teaching a jellyfish to build a house.” More Bob: ‘Twitter’ ([http://twitter.com/BobMahar](http://twitter.com/BobMahar)) ‘Blog’ ([http://blog.trafficshaper.com](http://blog.trafficshaper.com)) ‘Vimeo’ ([http://vimeo.com/boborama](http://vimeo.com/boborama)) ← Click And Be Amazed!

Bob-O-Rama’s Profile: [http://forums.novell.com/member.php?userid=5269](http://forums.novell.com/member.php?userid=5269)  
View this thread: [http://forums.novell.com/showthread.php?t=448977](http://forums.novell.com/showthread.php?t=448977)
