• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 282
  • Last Modified:

Security Policy Implementation

hi all, I am doing my project on Security policy implementation, i want to prepare some internet security policy on My windows Operating system with VB.Net and then i want to configure security settings in Linux operating system, In linux System, i want to configure Different Linux security utilities like Linux Firewall, Spamassisssn and Linux Content Filter According to my Configuration files generated from my Window operating System, I want to use XML files to configure all security files, please if you people are having any suggestion please give me urs valuable giudance.
0
rahulrai19
Asked:
rahulrai19
1 Solution
 
Rich RumbleSecurity SamuraiCommented:
So, you'd like to effectivly mirror the settings on the linux box, that you set on the widows box.
It won't be easy... while the XML file will be a good place to keep the settings, as it is a very universal format, gathering the data, and applying it will require two very different methods.

I'm no programmer, but there are already tools that M$ has built in that can query just about anything in the OS.
http://www.xinn.org/wmic.html  http://xinn.org/logonscripting102.html http://xinn.org/misc-scripts/examples102.txt
WMIC has an XML output format, as does the MSBA tool form M$

You'd then have to parse those settings into linux, the firewall rules would have to be read from the XML file, then converted to IPTable rules...
http://xinn.org/iptables-nat.html
-A RH-Firewall-1-INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A RH-Firewall-1-INPUT -i eth1 -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -i eth1 -j DROP
-A RH-Firewall-1-INPUT -i eth0 -j ACCEPT

I'm not sure what other settings from the M$ OS you'd want to duplicate to the linux machine...
-rich
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improved Protection from Phishing Attacks

WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now