Is my postgreSql database hacked

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Is my postgreSql database hacked

Postby mrstennis » Thu Jun 24, 2010 8:46 pm

When you download the official (paid) Pokertracker 3 on this site, is it standard that PostgreSQL creates a Superuser?

I have the feeling that I am getting hacked through my postgresql database. I see files from new postgres users appearing that I didnt make myself, and after removing the superuser option I get denied access to everything. What can I post here to verify if everything is okay?

And how can I get full control of my postgresql database again?
mrstennis
 
Posts: 20
Joined: Mon May 24, 2010 2:22 pm

Re: Is my postgreSql database hacked

Postby kraada » Fri Jun 25, 2010 8:42 am

PostgreSQL creates a user whose only capacity is to use the database - it's an extra security measure.

The files PostgreSQL creates and removes files in the PostgreSQL directory are there because these files are your database. You do not need to worry about these files, this is normal PostgreSQL function.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Is my postgreSql database hacked

Postby mrstennis » Fri Jun 25, 2010 8:58 am

kraada wrote:PostgreSQL creates a user whose only capacity is to use the database - it's an extra security measure.

The files PostgreSQL creates and removes files in the PostgreSQL directory are there because these files are your database. You do not need to worry about these files, this is normal PostgreSQL function.


So that means that if someone is able to break through my firewall and knows my database name + password, he has full access to my PT database and can retreive my holecards that way and play accordingly right. Can't we restrict the postgres user that he can't send any data out?
mrstennis
 
Posts: 20
Joined: Mon May 24, 2010 2:22 pm

Re: Is my postgreSql database hacked

Postby kraada » Fri Jun 25, 2010 12:50 pm

In theory you are correct, but it is honestly not something I would ever worry about. You cannot restrict the postgres user from returning data to queries because otherwise PT3 would not be able to get any data from the database itself.

If you would like to go the route least likely to ever jeopardize your hole card data, the thing to do is to get a dedicated computer and only use it ever for playing poker. When you are not playing poker, disconnect it from the internet and turn it off. Then you will be as safe as possible.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Is my postgreSql database hacked

Postby WhiteRider » Fri Jun 25, 2010 3:27 pm

I thought the PostgreSQL defaults meant that connections from another computer / outside a router / whatever couldn't access databases?
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Is my postgreSql database hacked

Postby kraada » Fri Jun 25, 2010 4:41 pm

Yes I presumed "breaking through the firewall" involved actually getting remote access to the computer in question, but the default PostgreSQL configuration does not allow for connections from machines not your own.

Though that also raises the following point: no matter how you have PostgreSQL configured, if someone has access to your machine, they have access to all of the data on it; they could install keyloggers, grab your PT database, do basically whatever they want. Grabbing your PT database should be the least of your concerns at that point.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 23 guests

cron
highfalutin