SlideShare a Scribd company logo
1 of 2
Download to read offline
How Does the Bruteforce of PHPSESSID Attack Affect You?
However, for an attacker on the prowl, you become an easy target of an attack and the
attacker can go into the website masquerading as you. In technical jargon, the way the
attacker learns of your username and passwords to impersonate you is Bruteforce of
PHPSESSID or session fixation.
What Happens During The Attack?
During session fixation, an attacker snooping around can get a valid session ID from an
application. The attacker then forces the application to use the same session ID. He usually
does this by sending the victim a link to a website with the session ID attached to the URL.
Once the victim uses the link, the attacker uses the information to guess the username and
password of the user, and the website the user was visiting. It is then easy for the attacker to
impersonate the user.
On the server side, the PHP framework issues a session token when a client session is
started. The token comprises a lot of information such as the IP Address of the client, current
time in seconds and microseconds, a combined php lcg sample and optionally additional
information (entropy) from available sources.
Even though the PHP string is a big string and MD5 encrypted, the session ID string follows
a definite pattern, with parameters such as the IP address and the php_combined_lcq at
specific places. To generate the actual values by guessing them would take a lot of effort by
ordinary means and this where the brute force technology comes in. The attacker
systematically tries every possible combination of symbols, letters and numbers until he
discovers the one correct combination that works.
However, depending on the length of the password used, the number of permutations and
combinations could be extremely huge to be of practical use and it may take the attacker
years to find one password. Attackers therefore use dictionary words, wordlists and smart
rulesets to start with, and this could be put all accounts at risk by flooding your site with
unnecessary traffic.
What Is The Harm Caused By Such Attacks?
An attacker trying to guess username and passwords may send a huge number of requests
to the server, flooding the server with traffic and causing a denial of service to the authentic
users.
Once he gains entry into a vulnerable user account, not only can the attacker steal sensitive
information from the account, he can also plant malware that may compromise other
accounts as well.
Using the compromised server, the attacker can turn it into a zombie and attach it to his
botnet to create further attacks that are more powerful.
How Can Such Attacks Be Prevented?
Usually some very effective mechanisms are used to prevent such attacks. One is to login
the user only from a certain IP address. If there is a change in the IP address during a login
session, another level of authentication of secret questions is used to identify if the user is
genuine. Therefore, even if the attacker has managed to guess the username and password
by the brute force method, there is another deterrent to gain access.
Other effective methods used are:
·Assigning unique login URLs to a section of the users in blocks
·Preventing automatic attacks by using CAPTCHA
·Place the attacked account in a lockdown mode with limited capabilities
james scott princeton corporate solutions

More Related Content

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

How Does the Bruteforce of PHPSESSID Attack Affect You?

  • 1. How Does the Bruteforce of PHPSESSID Attack Affect You? However, for an attacker on the prowl, you become an easy target of an attack and the attacker can go into the website masquerading as you. In technical jargon, the way the attacker learns of your username and passwords to impersonate you is Bruteforce of PHPSESSID or session fixation. What Happens During The Attack? During session fixation, an attacker snooping around can get a valid session ID from an application. The attacker then forces the application to use the same session ID. He usually does this by sending the victim a link to a website with the session ID attached to the URL. Once the victim uses the link, the attacker uses the information to guess the username and password of the user, and the website the user was visiting. It is then easy for the attacker to impersonate the user. On the server side, the PHP framework issues a session token when a client session is started. The token comprises a lot of information such as the IP Address of the client, current time in seconds and microseconds, a combined php lcg sample and optionally additional information (entropy) from available sources. Even though the PHP string is a big string and MD5 encrypted, the session ID string follows a definite pattern, with parameters such as the IP address and the php_combined_lcq at specific places. To generate the actual values by guessing them would take a lot of effort by ordinary means and this where the brute force technology comes in. The attacker systematically tries every possible combination of symbols, letters and numbers until he discovers the one correct combination that works. However, depending on the length of the password used, the number of permutations and combinations could be extremely huge to be of practical use and it may take the attacker years to find one password. Attackers therefore use dictionary words, wordlists and smart rulesets to start with, and this could be put all accounts at risk by flooding your site with unnecessary traffic. What Is The Harm Caused By Such Attacks? An attacker trying to guess username and passwords may send a huge number of requests to the server, flooding the server with traffic and causing a denial of service to the authentic users. Once he gains entry into a vulnerable user account, not only can the attacker steal sensitive information from the account, he can also plant malware that may compromise other accounts as well.
  • 2. Using the compromised server, the attacker can turn it into a zombie and attach it to his botnet to create further attacks that are more powerful. How Can Such Attacks Be Prevented? Usually some very effective mechanisms are used to prevent such attacks. One is to login the user only from a certain IP address. If there is a change in the IP address during a login session, another level of authentication of secret questions is used to identify if the user is genuine. Therefore, even if the attacker has managed to guess the username and password by the brute force method, there is another deterrent to gain access. Other effective methods used are: ·Assigning unique login URLs to a section of the users in blocks ·Preventing automatic attacks by using CAPTCHA ·Place the attacked account in a lockdown mode with limited capabilities james scott princeton corporate solutions