# Automating the retrieval and analysis of access information using accesschk.exe
## pip install accesschk2df
#### Tested against Windows 10 / Python 3.10 / Anaconda 3
Individuals or organizations working with access control and security configurations can benefit from using this Python
module by automating the retrieval and analysis of access information using accesschk.exe
and leveraging the flexibility and functionality of Python and pandas for further data processing and analysis.
accesschk.exe is a command-line tool developed by Microsoft that is used to view and analyze the security
settings and access permissions of various system resources, such as files, directories, registry keys, services,
and more. It provides detailed information about access control lists (ACLs) and user privileges for specific resources.
This module utilizes the accesschk.exe tool to retrieve access information and convert it into a pandas DataFrame.
By using this module, individuals or organizations working with access control and security configurations can
programmatically access and analyze access permissions in a more convenient and automated manner.
Advantages of using this Python module include:
Automation:
The module allows for the automation of accesschk.exe functionality through Python code,
enabling users to retrieve and process access information programmatically.
Integration:
The module integrates the functionality of accesschk.exe with pandas, a popular data manipulation library in Python.
This enables users to easily perform further data analysis, transformations, and visualizations on the access
information using pandas' extensive capabilities.
Flexibility:
Python provides a wide range of data analysis and processing libraries, making it easier to integrate the access
information with other data sources and perform complex analyses or combine it with additional security-related tasks.
Reproducibility:
By using Python code, users can document and reproduce their access information retrieval and analysis workflows.
This is especially useful for auditing, troubleshooting, or creating reports related to access permissions.
```python
df = get_accesschk_df()
# print(df[:3].to_string())
# aa_pid aa_exe aa_rights aa_path
# 0 592 lsass.exe RW NT-AUTORITT\SYSTEM
# 1 592 lsass.exe RW VORDEFINIERT\Administrators
# 2 84 svchost.exe R VORDEFINIERT\Administrators
```
Raw data
{
"_id": null,
"home_page": "https://github.com/hansalemaos/accesschk2df",
"name": "accesschk2df",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "accesschk,DataFrame",
"author": "Johannes Fischer",
"author_email": "aulasparticularesdealemaosp@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/79/77/c9564d0f93f339563508d24bb034d5cd7080d65b0f1163c705c75e4846ec/accesschk2df-0.10.tar.gz",
"platform": null,
"description": "\r\n# Automating the retrieval and analysis of access information using accesschk.exe\r\n\r\n\r\n## pip install accesschk2df\r\n\r\n\r\n#### Tested against Windows 10 / Python 3.10 / Anaconda 3\r\n\r\nIndividuals or organizations working with access control and security configurations can benefit from using this Python\r\nmodule by automating the retrieval and analysis of access information using accesschk.exe\r\nand leveraging the flexibility and functionality of Python and pandas for further data processing and analysis.\r\n\r\naccesschk.exe is a command-line tool developed by Microsoft that is used to view and analyze the security\r\nsettings and access permissions of various system resources, such as files, directories, registry keys, services,\r\nand more. It provides detailed information about access control lists (ACLs) and user privileges for specific resources.\r\n\r\nThis module utilizes the accesschk.exe tool to retrieve access information and convert it into a pandas DataFrame.\r\nBy using this module, individuals or organizations working with access control and security configurations can\r\nprogrammatically access and analyze access permissions in a more convenient and automated manner.\r\n\r\nAdvantages of using this Python module include:\r\n\r\nAutomation:\r\nThe module allows for the automation of accesschk.exe functionality through Python code,\r\nenabling users to retrieve and process access information programmatically.\r\n\r\nIntegration:\r\nThe module integrates the functionality of accesschk.exe with pandas, a popular data manipulation library in Python.\r\nThis enables users to easily perform further data analysis, transformations, and visualizations on the access\r\ninformation using pandas' extensive capabilities.\r\n\r\nFlexibility:\r\nPython provides a wide range of data analysis and processing libraries, making it easier to integrate the access\r\ninformation with other data sources and perform complex analyses or combine it with additional security-related tasks.\r\n\r\nReproducibility:\r\nBy using Python code, users can document and reproduce their access information retrieval and analysis workflows.\r\nThis is especially useful for auditing, troubleshooting, or creating reports related to access permissions.\r\n\r\n\r\n\r\n```python\r\ndf = get_accesschk_df()\r\n# print(df[:3].to_string())\r\n# aa_pid aa_exe aa_rights aa_path\r\n# 0 592 lsass.exe RW NT-AUTORITT\\SYSTEM\r\n# 1 592 lsass.exe RW VORDEFINIERT\\Administrators\r\n# 2 84 svchost.exe R VORDEFINIERT\\Administrators\r\n```\t\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Automating the retrieval and analysis of access information using accesschk.exe",
"version": "0.10",
"project_urls": {
"Homepage": "https://github.com/hansalemaos/accesschk2df"
},
"split_keywords": [
"accesschk",
"dataframe"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "05ab13c512beda57285f0b4c8da83ee8e5d3b830d774da56e96fe391c1a483af",
"md5": "c9112b7d7aecfb44bd95468a7d1143ad",
"sha256": "e30d8e165e445faae95ca6c359631da3b079f01002773354403779b5151247fa"
},
"downloads": -1,
"filename": "accesschk2df-0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c9112b7d7aecfb44bd95468a7d1143ad",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 1067523,
"upload_time": "2023-06-09T00:42:38",
"upload_time_iso_8601": "2023-06-09T00:42:38.479017Z",
"url": "https://files.pythonhosted.org/packages/05/ab/13c512beda57285f0b4c8da83ee8e5d3b830d774da56e96fe391c1a483af/accesschk2df-0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7977c9564d0f93f339563508d24bb034d5cd7080d65b0f1163c705c75e4846ec",
"md5": "15d851499df68ba4b1a09502711fb9d6",
"sha256": "31af7948f4f09772365edd7f3efe39bfb869cbb96668c48a0b4b45c73f1aecfd"
},
"downloads": -1,
"filename": "accesschk2df-0.10.tar.gz",
"has_sig": false,
"md5_digest": "15d851499df68ba4b1a09502711fb9d6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1065186,
"upload_time": "2023-06-09T00:42:43",
"upload_time_iso_8601": "2023-06-09T00:42:43.238965Z",
"url": "https://files.pythonhosted.org/packages/79/77/c9564d0f93f339563508d24bb034d5cd7080d65b0f1163c705c75e4846ec/accesschk2df-0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-09 00:42:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hansalemaos",
"github_project": "accesschk2df",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "accesschk2df"
}