Archive

Archive for September, 2012

جدع تحت النار–قصة مختلفة تماما لبلطجة الداخلية في مصر

September 30, 2012 Leave a comment

انا مين ، و لا احنا مين اساسا ، سؤال ممكن يخطر على بال اي حد بيقرا التدوينة دي و في بالوا انه حيسمع عن الواد حلمبو اللي اتمسك في قسم العامرية و عذبه الباشا ، لكن احب اقولك انه المرة دي حتسمع حاجة تانية خالص ، جديدة و من ناس ممكن تعرفهم و ممكن متعرفهمش بس مش اللي في بالك خالص علشان كده حبيت ابتدي و اقولك احنا مين .

انا اسمي محمود مجدي ، بشتغل شغلانة ترجمتها بالعربي كبير مصممي النظم و الشخص اللي ححكيلك عليه اسمه محمد فوزي و شغال كبير مستشاري النظم في شركة لينك دوت نت. بس برضوا انت لسه متعرفشي احنا مين

انا و محمد و تقريبا ننتمى لمجموعة من حوالي 12 مصري تانيين واخدين شهادة او هي بمعنى ادق جائزة مايكروسوفت تعتبر ارقى جائزة تمنحها مايكروسوفت لمحترفي التكنولوجيا خارج شركتها في العالم و يطلق عليها بالعربي المحترف الاكثر قيمة

Microsoft Most Valuable Professional

الجائزة دي لا تمنح لأي شخص ، بل تمنح بعد مراقبة لهذا الشخص و مستواه العلمي  و مشاركاته في المجتمع في جازة تقديرا لخدماته العلمية و مستواه العلمي الذي لم يستغله فقط في مجال عمله بل باشر بخدمه المجتمع العلمي المحيط به مجانا لنشر التكنولوجيا في بلده او مجتمعه و يكون هذا في مجالات و بطرق متعددة

كام واحد واخد الشهادة دي في مصر ، تقريبا 12 ، و انا و محمد الوحيدين في تخصصنا اللي حصلنا عليها انا في مجال

Exchange Server

و محمد في مجال

Virtualization and Data Center

و الاخرين لا يقلوا عنا قيمة او مستوى فنحن لسنا افذاذا او خارقين ، و لكننا وصلنا لمستوى احترافي عالي و لم نقف بل بذلنا كل ما نستطيع لنشر العلم في بلدنا و في العالم ، توصيف الشهادة من على مايكروسوفت كما هو منقول من الموقع: https://mvp.support.microsoft.com/gp/mvpintro

The Microsoft MVP Award Program recognizes and thanks outstanding members of technical communities for their community participation and willingness to help others. The MVP Award is given to exceptional technical community leaders who foster the free and objective exchange of knowledge by actively sharing their real-world expertise with technology users. The MVP Award celebrates the most active community members from around the world who provide invaluable online and offline expertise that enriches the community experience and makes a difference in technical communities that feature Microsoft products.

MVPs are a select group of experts representing technology’s best and brightest people who share a commitment to community. While MVPs come from many backgrounds and a wide range of technical communities, they share a passion for technology and a demonstrated willingness to help others. MVPs do this by writing books and articles, managing Web sites, maintaining blogs, participating in user groups, hosting and contributing chats, presenting at events and training sessions, and answering questions in technical newsgroups, forums, or message boards.

Microsoft MVPs are an amazing group of individuals. By sharing their knowledge and experiences and providing objective feedback, MVPs help people solve problems and discover new capabilities. It gives us great pleasure to recognize and award MVPs as our way of saying thank you for their demonstrated commitment to helping others in technical communities worldwide.

ربنا يعلم انه لم نبغى سوى الاجتهاد و رفع المستوى ، نحن النخبة و لكن لم نقول بل فعلنا و لسنين في صمت ، لم نطلب مالا و لا جاها و ربما لا يعرفنا الكثيرين فنحن غالبا نشارك باسماء مجهولة او مستعارة و ان شاركنا باسماءنا الحقيقية فربما لو رأيتنا في الشارع لا تعرفنا ، و لكننا و بكل فخر ، النخبة

انا بقول كده و كلي فخر و ليس استكبار ، فانا فخور اني ارفع اسم بلدي و اساهم في تنمية مجتمعي ، تم هذا و على مدار سنين و سنين و لم اخذ و لم اطلب و ان اطلب مالا ، فانا اخدم بلدي و ابناء وطني و كذلك يفعل محمد و باقي المجموعة فهم لا يقلوا عنا مكانة و علما

شاهدني و انا و محمد نتحدث من سنة في مؤتمر مايكروسوفت الاكبر في مصر

Transition from Exchange 2003/2007 to Exchange 2010 – Arabic Session – Microsoft OpenDoors – Egypt 2010 – Part1 from mahmoud magdy on Vimeo.

لم هذه المقدمة ، لانه عندما يتم اعتقال محمد و لمجرد انه تشابه اسماء و تلفيق تهمة الاتجار بالمخدرات له بدون اي ذنب او تمييز ، فهذه جريمة لا تغتفر اساسا في حق اي بني ادم و لا تغتفر مرات و مرات لانها لم تميز من هو المتهم و لا مكانته في مجتمعه

محمد تم القبض عليه اول امبارح و بيقول على تويتر

قوه من مباحث السيده جاءت لالقاء القبض على بدون ذكر للتهمه و الاكتفاء بقول أنهم عايزنى فى كلمتين. الظابط كان محترم و مؤدب. يتبع

اتصلت بمالك و مكانش عندى تفاصيل و كنت شاكك أنها ليها علاقه بقضيه اعتصام القضاه من 2006 علشان ده القضيه الوحيده اللى عنحي و انا مش فاعل مؤخرا

فى الطريق سحبوا الموبيل منى و استنيت نص ساعه لحد ظابط المباحث ما قالى انى ممسوك فى حكم مخدرات و هربت من السجن أثناء الثوره. يتبع

أكتشفت أن الهارب أسمه الرباعى مختلف عنى وهم عارفين كده بس مسكونى علشان يبقى أسمهم مسكوا هارب و المطلوب انى أثبت أنى مش هو. يتبع

الهارب أتحبس و هرب بدون ما يسجلوا أى بيانات عنه غير أسمه مفيش رقم بطاقه او تاريخ ميلاد او أسم أم. قمه العبث و ده سهل أنهم يمسكوا أى اسم زيه

عمرو الامام وصل و تعامل مع الظابط و وصلنا لحل غريب اننا نصور ورق من الباسبور بتاعى علشان اثبت انى كنت مسافر و المباحث تأخذ رقم موبيلى. يتبع

الخلاصه. أى حد مش بيسافر كتير و ملوش علاقات معرض للسجن الخطأ المتعمد علشان الداخليه عايزه تزود أرقام و تبان بتشتغل

ممكن تقرا الحدوتة من على حساب محمد فوزي على توتير https://twitter.com/vfawzi

محمد اتقبض عليه و لو الراجل ده مكانشي مسافر و مكانشي يعرف شوية ناس الله اعلم كان ايه اللي حيحصل ليه ، انا هنا احب ان اعلق كالتالي:

  • كم من عقل و نفس و روح و شخص ظلم في هذا البلد لغياب القانون و عدم احترامه
  • انا لم يكن لي رأي سياسي ابدا و لا عمري نزلت مظاهرة و لا أي حاجة ’ لكن ان ارى واحد من افضل العقول المصرية و هو معرض ان يذهب هباء منثورا و في غياهب الجب لمجرد انه هناك بعض الاشخاص مكسلين يعملوا شغلهم فهو شئ يكسر قلبي و لا استطيع ان اتفهمه او اقبله
  • بغض النظر عن مكانة محمد العلمية و الاحترافية فهذا فعل لا يقره لا عقل و لا دين و لا منطق

انا بحب اقول لكل شخص مسؤول و لكل ظابط لا يخشى الله انكم سوف تحاسبون يوما ما على مااقترفتموه يوما ، فخافوا على هذا البلد و على انفسكم فانتم لا تحموه بل تهدموه

حسبي الله و نعم الوكيل ، حسبي الله و نعم الوكيل

 

 

 

What does it mean to you have your Backup data globally de-duped using Netabckup Appliances?!

September 30, 2012 1 comment

Of course De-dupe is a great thing, the first time I realised what is De-duped was 3 years ago when I worked for a NetApp Partner and found out how they do De-Dupe on their SAN storage, I loved the ability to eliminate redundant data from your SAN.

But what does it mean to “globally” De-duped at your backup, and I will tell you later why I placed “globally” between brackets Open-mouthed smile.

I didn’t care much for Backup De-Dupe, to be honest, I knew that De-dupe is cool but those are backups, they can be safely not De-Duped (if this is grammatically correct Open-mouthed smile), who cares right ?, I didn’t realise how much I was mistaken until 3 weeks ago when I attended the NetBackup Appliances training, as the same question was raised.

The trainer explained an example that blew my mind, I didn’t realise how much saving a company can achieve using De-dupe backup data Globally, how, let us see:

Assuming a company that is operating 20 TB of Data (I made the examples little bit bigger to demonstrate how much saving you are getting), those data could be any type of data (VMs, Files, Mix or anything). let us check the following table for 2 weeks worth of backup data size (2 weeks to demonstrate the effect of full backups):

Run None De-duped size De-duped size
First Week Full Backup 20 TB Maybe 10 TB (remember the data is De-duped and expected to see 50 to 60 % size reduction)
Full Week of Differential Data 5 TB 2.5 TB (De-Duped Data, size reduced)
Second Week Full Backup 25 TB maybe 0 or a worth of only 1 day of data, how much is that 100 GB ?!)
Total 50 TB 15 TB

 

What?, why is that?, Well because Netbackup Appliances with the De-dupe will see the full backup again as data that can be De-Duped and will be 100% De-duped and will only backup the data that has been changed since the latest incremental backup. (how much is that, it will be for sure much more less than the full backup Open-mouthed smile).

Note: maybe the example is not fair, maybe your software is using some sort of de-dupe technique, but is it a global de-dupe, do you get the full de-dupe efficiency across all the data ?! do you get it across sites, is it mixed with the replication ?!

There is another edge, there are a lot of backup software that can do De-Dupe, but who can do it globally across all the backup sets that is running within the environment, I think none, all Backup Software do the trick on the Job basis, meaning that data within the single backup Job, Folder or disk is deduped, not globally across all the backup jobs, and ….and across the appliances themselves (DR site scenario or remote Sites with NBU appliances scenario).

I loved the backup De-dupe, I loved them so much, I will start from tomorrow let you see NBU appliances in action, I setup the lab and you will see the NBU Appliances effect starting tomorrow, buckle up and enjoy the ride.

Categories: Symantec Tags: , ,

Officially recognized as BackupExec BExpert , Thank you Symantec

September 28, 2012 2 comments

I spotted a tweet by Sean Regan  referring to a blog post by Matt Stephenson about Symantec’s BExperts program.

The program is still a new program, and similar to Microsoft’s MVP program and VMware’s vExperts program, to recognize the community experts who demonstrated exceptional skills within the Symantec’s and Backup Exec Community (more details could be found here ).

Today, I got the amazing news, Symantec Recognized me as one of the very early (I am according to the forum count No. 20) as a BExpert, yessssssssssssssssssssssssssssss.

The program still new and as I can see it started 5 months ago, however it is a distinguished recognition for my contribution during the past 2 years, I was blogging about Backup Exec and Exchange restoration, I knew that there was a lot of pain around the Exchange 2010 and Backup Exec and I just wanted to help, Also I was doing my best on Experts-Exchange.com on the backupexec section, just doing my best :).

I believe that the most important lessons learnt here, community effort always pays on personal and professional level Smile.

 

Thank you Symantec for the recognition, I hope to to serve the community more and more.

sym_brain

حقائق غير تاريخية–لماذا سمى الاناناس بهذا الاسم

September 24, 2012 Leave a comment

سمي الاناناس بهذا اسم على اسم الحادثة التي وقعت في افريقيا الوسطى في اوائل القرون الماضية حيث كان هناك قبيلة (بن شفروح) التي كانت تصطاد الغوريلات ، و كان احد رجالها ينصب فخا للغوريلات و لكنها هجمت عليه دفعة واحدة فاخذ يجري ، و عندما شاهده رجال بن شفروح لم يعرفوه من كتر الضرب فظنوا انه غوريلا فلم يجدوا ما يضربوه به وقتها فقطعوا تلك الفاكهة من الشجرة و اخذوا يحذفوها بها، فأخذ يقول لهم (انا ناس) (انا ناس) و في الاخر عرفوه و ضحكوا و قتلوا جميع الغوريلات و اطلقوا اسم (اناناس) على هذه الفاكهة الذيذة

هل تعتقد انه هناك اسم ما لا تعرف ما هو ، ارسلة لي على تويتر

http://www.twitter.com/_busbar

و سأجد لك الحقيقة الغير تاريخية و راءه

Installing ESXi 5.1 & vCenter 5.1 on VirtualBox

September 16, 2012 14 comments

This is a probably silly post, but I wanted to create a reference for all of those guys installing ESXi 5.1 in general and using VirtualBox, the steps are the same as ESXi 5.0, so here we go:

ESXi Machine Configuration on VirtualBox:

For the VM, create a Lunix 64-bit machine, and configure it as following:

at least 2100 MB of memory (ESXi installation will not complete if he detects memory below 2 GB):

SNAGHTML3693045

For the CPU, configure the machine with at least 2 processors, the installation will not continue if have 1 CPU:

SNAGHTML3693045[5]

 

You might want to configure acceleration, however you won’t be able to start 64-bit machines on ESXi nested inside VirtualBox, this is because the VB doesn’t virtualize the CPU virtualization capabilities to VMs running inside it (sad).

SNAGHTML36bdaa7

For the network, make sure to select a network that is detectable by the ESXi installation:

SNAGHTML36c9f8a

once done, map the ISO file and let us rockNroll Winking smile.

Installing ESXi 5.1:

The screenshots are direct:

image

image

image

image

image

Once done you are on the go, wait for the installation to complete.

Installing vCenter 5.1:

vCenter 5.1 introduce the new SSO thing, in this article, I am choosing to install the Basic SSO/vCenter combination, for the full SSO cluster thing, I will highly recommend http://derek858.blogspot.com/2012/09/vmware-vcenter-51-installation-part-1.html

Let us start with our next, next ok Journey:

image

image

image

image

image

image

image

Once done with the SSO, setup will prompt you for the service information:

image

image

image

image

So once installed you are done with your single server installation, congrats….Open-mouthed smile

Configuring Dynamic Access Controls and File Classification-Part4-#winservr 2012 #DAC #microsoft #mvpbuzz

September 12, 2012 Leave a comment

Part1: The Windows Server 2012 new File Server–part 1- Access Condition http://goo.gl/9miY1

Part2: The Windows Server 2012 new File Server–part 2- Install AD RMS http://goo.gl/dRHro

Part3: The new file server part3 using file classification & AD RMS: http://goo.gl/A4JlC

In previous parts we have walked through the new file server features and permissions wizard, Data Classification, AD RMS installation and File Classification and AD RMS integration, in the final part of this series we will take about how to implement a new feature of Active Directory called claim based authentication and utilize it for something called Dynamic Access Control.

but wait a minute, what is the claim based authentication, from this reference: http://www.windowsecurity.com/articles/First-Look-Dynamic-Access-Control-Windows-Server-2012.html

Claims-based authentication relies on a trusted identity provider. The identity provider authenticates the user, rather than every application doing so. The identity provider issues a token to the user, which the user then presents to the application as proof of identity. Identity is based on a set of information that, taken together, identifies a particular entity (such as a user or computer). Each piece of information is referred to as a claim. These claims are contained in the token. The token as a whole has the digital signature of the identity provider to verify the authenticity of the information it contains.

Windows Server 2012 turns claims into Active Directory attributes. These claims can be assigned to users or devices, using the Active Directory Administrative Center (ADAC). The identity provider is the Security Token Service (STS). The claims are stored inside the Kerberos ticket along with the user’s security identifier (SID) and group memberships.

Once the data has been identified and tagged – either automatically, manually or by the application – and the claims tokens have been issued, the centralized policies that you’ve created come into play.

Now you can turn user’s attribute whatever they are, into security controls, now we have the power to control the access to files and set the permissions to files using attributes, we no longer controlled by group permissions only.

With that in mind, you can set the permissions on the files based on department attributes, connecting machine, location or any other attribute in Active Directory and you don’t have to create specific groups for that, also the permissions will be set on the fly, not only that, but you can set the permissions not based on the user’s properties but also based on the device the user is using, you can set the permissions to full control from corporate devices, but readonly from kiosk or non-corporate devices.

Not only that, but you can also include the attributes of the resources that is being accessed in the permissions equation, so you want “on the fly” to examine the resource classification and allow only specific users with specific attributes to access the resource (so files classified of country classification “Egypt” will be accessed by only users who are in country “Egypt” for example).

Dynamic Access Control (DAC) is a new era for permissions, I am blown by the power of DAC and how flexible it is, mixed with AD RMS you can have ultimate control on data within your corporate.

Lab Setup:

We will use the steps described here in this TechNet article: http://technet.microsoft.com/en-us/library/hh846167.aspx#BKMK_1_3 , the steps here are illustration of the steps, and prior parts of the blog series (part 1 to 3) are used as foundation to demonstrate the final environment:

Implementation steps:

the first ting to configure is the claim type, claim types represents what are the data queried in the user/device/resource attribute and then used in the permission evaluation, you want to query about the country, you create a claim type for that, you want to use department you create a claim type for that.

In our Lab we will create a claim type of Department and Country:

to create a claim type open the AD Administrative Center  and go to Claim Types, and from the menu select new:

image 

Create a new claim for Department :

image

and for Country :

image

In the Country, Supply suggested values (to specify values for the claims as Egypt and Qatar):

image

Note: By defaults claims are issues to users, if you want to issue it for computers you must select that on the claim

Create a new reference resource property for Claim Country:

image

Now got to Resource Properties  and enable the department claim;

image

image

Now let us create a Central Access Rule, This rule will include the template permissions that will be applied when the claims are matched with the rules defined in the CAR:

image

In the rule, specify the security principle you want to use, in this demo we will grant access to Finance Admins full control and Finance Execs read only access, and this will be applied to all files “resources” that is classified in the Finance Department, we can also go with devices claims and specify the country of this device or any other property that we can to query about the device:

image

image

image

The Final rules will be :

image

Now create a Central Access Policy that will be applied using GPO to all file servers and the Administrator can select and apply them on individual folders:

image

In the CAP, include the finance data rule:

image

No you need to apply this CAP using GPO and make it available to file servers, now create a GPO and link it to the file servers OU:

image

In the Group Policy Management Editor window, navigate to Computer Configuration, expand Policies, expand Windows Settings, and click Security Settings.

Expand File System, right-click Central Access Policy, and then click Manage Central access policies.

In the Central Access Policies Configuration dialog box, add Finance Data, and then click OK.

image

You need now to allow the Domain Controllers to issue the Claims to the users, this is done by editing the domain controllers GPO and specify the claims settings:

Open Group Policy Management, click your domain, and then click Domain Controllers.

Right-click Default Domain Controllers Policy, and then click Edit.

In the Group Policy Management Editor window, double-click Computer Configuration, double-click Policies, double-clickAdministrative Templates, double-click System, and then double-click KDC.

Double-click KDC Support for claims, compound authentication and Kerberos armoring. In the KDC Support for claims, compound authentication and Kerberos armoring dialog box, click Enabled and select Supported from the Options drop-down list. (You need to enable this setting to use user claims in central access policies.)

Close Group Policy Management.

Open a command prompt and type gpupdate /force.

Testing the Configuration:

Going to the file server, and clicking on our finance data file, we can now find the data classification that we specific in the Claims:

image

Now let us classify the data as Finance Department.

image

Note: In order to allow DAC permissions to go into play, allow everyone NTFS full control permissions and then DAC will overwrite it, if the user doesn’t have NTFS permissions he will be denied access even if DAC grants him access.

Now checking the permissions on the folder:

image

going to the Central Policy tab and applying the Finance Data Policy:

image

now let us examine the effective permissions:

for the Finance Admins:

If the user has no claims (so he is a member of the group but not in the finance department and is not located in Egypt) he will be denied access:

image

Now, let us specify that he is from Finance Department, no luck, Why?!

This is because he must access the data from a device that has claim type country Egypt:

image

Now test the Finance Execs Permissions and confirm it is working.

You can test applying this rule also when the following condition is set, and wee what happens:

image

Note: the above rule will grant use access when his department matches the file classification department, so you can have a giant share from mix of departments and permissions will be granted to files based on users’ departments.

Conclusion:

Mixing DAC with AD RMS and file classification is a powerful mix that helps organizations with the DLP dilemma, and with Windows Server 2012 organization has total control for the first time on the files and data within the files. please try the lab and let me know your feedback

Backup&Restore Exchange 2010 mailbox database or mailbox item using ARCserve R16 #msexchange #arcserve

September 11, 2012 4 comments

In my ultimate Journey discovering how to backup and restore Exchange 2010 by every single application on our universe, I blog today about how to do that using CA’s ARCserve r16 SP1.

We will continue using my single Exchange server hen installing ARCserver r16 SP1 and then discovering how to make a backup job to backup Exchange and Restore from our backup.

Installing ARCserve r16 SP1:

There is nothing genius about installing the ARCserve, you possible want to plan ahead for the following:

  • SQL Database location.
  • Configuring Windows authentication instead of the ARCserve authentication.
  • If you will configure windows authentication later, you need to remember the password you used for the default admin account “caroot” because you will use it to login.

    other than that, the installation itself is no brainer, next, next and ok Smile

    Configuring ARCserve r16 Devices:

    Once you are finished installing and opening the ARCserve console “Manage”, you will be prompt with a very nice tutorial that walks you through the basic configuration of your ARCserve.

    In this step we will configure “Disk device” that we will use for our backup to disk, so from Devices choose launch device configuration:

    image

    In the Login Server screen, enter your credentials to login to the server:

    image

    In the Login Server  choose your login server:

    image

    In the Device Configuration screen, choose Windows File System Devices to configure a backup folder (the de-duplication device is a folder that could configured to store multiple backups, the ARCserve then divide the backup to small chunks that is compared and de-duplicated using the proprietary ARCserve algorithm) then click add:

    image

    image

    image

    and if you somehow missed the wizard, you can do the same using the device wizard from the administration menu:

    image

    Once the Device is configured, we can deploy the Agent and start protecting our Exchange server, you can do that from the administration, and then go to Agent Deployment :

    Note: In Order to backup the Exchange server using ARCserve you must installing MAPI CDO, this is a must because unlike Symantec which uses EWS to restore emails, ARCserve using MAPI CDO to backup and restore individual email, also note that MAPI CDO must be installed before installing the ARCserve if you don’t you will get the following error message:

    “The request is denied by the agent. The requested agent is not installed.”

    image

    When you deploy the agents for the first time, you must specify the ARCserve source to copy the agents from it, once copied you won’t need to do that again and you will be able to proceed with the deployment:

    image

    Once copied, you will proceed with the agent deployment, so specify the Login Server:

    image

    In the agent installation option and normally you will get the automatic, you might want to choose custom to fine tune the installation options:

    image

    In the agent select the agents that needs to be deployed:

    image

    In the host selection, you have a nice option here to discover the Exchange servers and deploy the agent to them automatically:

    image

    to discover the Exchange infrastructure, Just specify you Domain Controller and credentials and the ARCserve will discover the Exchange server for you, nice!!!:

    image

    image

    image

    image

    Backup Exchange 2010 Mailbox Database and Mailboxes using ARCserve:

    To Create a backup job, it is so easy, from the Protection & Recovery menu choose Backup:

    image

    From the Job Setup Menu select your Job Setup Type:

    image

    In the Source, select the Mailbox Database, if you want to recover specific mailboxes or mailox items you must configure the Document Level Type backup, unlike Symantec which uses 1 type of backups to either restore Mailbox Database or Mailbox or Mailbox item, ARCserve uses 2 types of backup (mailbox database backup for mailbox level and Mailbox Document level for Mailboxes and Mailbox items):

    image

    In the Schedule, select your scheduling:

    image

    In the Destination, select your destination, in my case I will use the folder I already configured previously:

    image

    Once all set, click the Submit button to submit the job for run.

    Restore the Exchange Mailbox Database or Mailbox items from the ARCserve Backup:

    Now you can restore either the Mailbox Database or the Mailbox items, you can go to the Restore section, explore the Exchange infrastructure and either select the Mailbox Database or the Mailbox Items:

    image

    Conclusion:

    In this Article we have explored the basic ARCserve configuration and how to backup and restore Exchange 2010 Mailbox and Mailboxes using ARCserve. it was easy and sweet although I don’t understand why in ARCserve I have to create 2 jobs and duplicates to backup Mailbox Database and Mailboxes (Document level).

    So what is the next product, I don’t know I will be waiting for your suggestions Open-mouthed smile, so let me know so I can blog it.

  • The new File Server–Part3-Using File Classification & ADRMS #Microsoft #winserv 2012 #mvpbuzz

    September 10, 2012 2 comments

    Part1: The Windows Server 2012 new File Server–part 1- Access Conditions #Microsoft #winserv 2012 #mvpbuzz
    http://goo.gl/FtWbi
    Part2: The Windows Server 2012 new File Server–part 2- Install AD RMS #Microsoft #winserv 2012 #mvpbuzz
    http://goo.gl/dRHro

    In part1 we took a look to the new conditions that can be applied to the new security permissions GUI in Windows Server 2012, in Part 2 we continued in our lab and setup AD RMS in order to setup the stage for Part3.

    In Part3, we will delve into the file classification infrastructure in Windows Server 2012, and we will see how to utilize file classification infrastructure and integrate it with the Active Directory RMS.

    But first, what is file classification in Windows Server?, FCI (File Classification Infrastructure) is not new in Windows Server 2012, it has been there since Windows Server 2008 but it was a separate set of tools and commands that classifies the files at the file server level.

    The FCI scans the folders/file shares and reads the files inside them and stamp or classify the files inside those shares or folders based on specific attributes, once the classification is done it could be read by Windows Server File Server or 3rd party products and take actions according to each file’s classification, below is a screenshot for how the file is classified, the below screen shows that the file is classified with country “Egypt” and Department “Finance”, you can add and classify documents in endless attributes to include priority, sensitivity, location, security clearance…etc

    image

    How the files and folders are classified?

    You can classify the folders/files manually by right clicking on the folder/file and view its properties, going the classification tab you can specify the file classification manually, in the below screen I can select from the county classification either “Egypt or Qatar”, and I can specify the department between a wide range of departments that are provided by default and of course the list is customizable:

    image

    image

    How to classify the files automatically?

    In order to classify the files and folders automatically in Windows Server 2012, install the File Server resources manager, you can do that by adding the role from the “Server Manager”.

    After installing the File Server Resource Manager, you can open the MMC console and you will be able to manager Quotas, Shares and file screening, and you will find the new section for file classification:

    image

    The File Classification Management has 2 section:

    • Classification Properties: this is used to define the classification attributes Like country/department in our example

    image

    In the above screen you will find 2 attributes (Country and Department) and their scope are global and this is because they are defined in AD (configuring these will be explained in details in part 4 when we talk about the dynamic access control), you can define your own local attributes like file sensitivity…etc.

    Now if you want to classify the documents automatically, you will need to create a classification rule, the classification rule will classify the documents automatically based on the file attributes, scope of content, let us see how:

    Customizing Folder Usage:

    Folder usage is an automatic way to identify the data that is contained in folders, this is not classification it defines what data is contained in the folder, and this could be used in the classification later.

    to customize the folder usage, open the Classification Properties  and double click on Folder Usage.

    By Default, there are 4 types of data:

    • Application data.
    • Backup Data.
    • Group Data.
    • User Files

    in this page you can create your own data types

    image

    I will create Engineering and financial Data types:

    image

    Now to define which files are used by the Engineering team and which files are used by the financial team, click on the empty space in the Classification Properties and Select Set Folder Management Properties:

    image

    In the property, select Folder Usage and define the folders that is used by each team or contains each data type, you can have infinite number of folders and definition but again this is not classification it defines folder usage which will be used in our classification rule later, so select the file path and define the data usage:

    image

    The final settings will be as following:

    image

     

    Create Classification Rules:

    Now let us create some classification rules, From the File Classification Rules, create a new Rule:

    image

    In the Rule Name, Specify a rule name, In this rule I will classify a folder as financial data:

    image

    In the Scope you can specify you can specify the data usage to be classified automatically, we will use the financial data as well specifying a manual folder (share 1) also to be classified as financial data, now when you select the financial data the folder selection will include all the paths you defined in the previous step, you can also specify paths manually, the final settings will be as following:

    image

    In the classification tab we have 2 ways to set classification:

    • Folder Classification: this classifies all the in the folder with the specified classification rules
    • Content classification: this searches the files for specific patterns, keywords and using regular expressions you can go epic searching your data for specific contents and when the content match found, the files are classified accordingly, an example could be Credit card Numbers, Projects codes..etc This rule will classify the folders, we will create another rule that classifies the content, so the rule will be as following:

    image

    Note: The Department/Country Classifications are organization wide and created based on dynamic access rules, you will learn how to create these in details in next blog post (Part4), if you would like to go along with the lab and don’t want to jump to the DAC part yet, create local properties and use them.

    In the evaluation cycle, you can specify either to continuously evaluate the data and either to overwrite or aggregate the data, in my example I will overwrite the data and this will make sure that any user level settings are overridden by the company rules defined here:

    image

    Now the rule is ready, let us create another rule that does content classification:

    image

    This rules classifies the data country, so I will include all the engineering and financial data usage:

    image

    In the classification, I will choose content, and classify data that matches the rule as country Egypt:

    image

    In the Parameters section, click on Configure, you will find a regular expression and data finding fields with strings and case sensitive strings:

    image

    In my case I will search the document for word Egypt and then classify it, you can use regular expression and complex statements in your rules and even multiple rules, also you can define the minimum occurrence and maximum occurrence to fine tune your rule:

    image

    The Final Rules will be as following:

    image

    Now let us see, in each folder, I have 2 files one contains the word Egypt and other is not, I have placed the file group in the financial and R&D folders, right now nothing is classified:

    image

    image

    Now if we go and run the classification rules:

    image

    and let us see how it will work, and let us examine the classification report:

    image

    it worked as expected Open-mouthed smile, sweeeeeeeeeeet.

    until now we have done nothing with the data classification, we just tagged the data as in Egypt or financial or not, but what is the point, there are 2 things we can using data classification for:

    • Encrypt the files using AD RMS.
    • Control file access using Windows Server 2012 Dynamic Access Control (DAC).

    In this post we will see how to use the AD RMS, in part4 we will use the Dynamic Access Control.

    Encrypt Files Dynamically based on Data Classification:

    So far we are doing great, we classified and identified the folder usage and tagged the files with the proper classification, now we will take actions based on those classifications, in the below steps we will encrypt the document using AD RMS:

    Configuring RMS to Allow File Server to request Certificate:

    In order to allow the file server to automatically request certificate & encrypt the documents, you must configure some permissions on the ServerCertification.asmx on the RMS Server:

    • Read and Execute permissions for the File Server machine account.
    • Read and Execute permissions for the AD RMS Service Group

    Create File Server Management Task:

        From the

    File Management Tasks,

      Create a new task:

    image

    In the General Tap, give the rule meaningful name:

    image

    In the scope we can select Financial or Engineering scopes or select custom folder, I will select Financial scope and “Share 1” which is a custom path:

    image

    In the Action you have 3 options:

    • Custom: you can create your own command that does the action, you can use powershell scripts…etc
    • Expire: you can expire the files or in other words moving them to another folder “the expiry folder” for review and deletion.
    • RMS Encryption: You can specify a template or custom permissions to apply to files matching the criteria.

    In this article we will apply RMS encryption, you can choose between a predefined RMS template or creating custom permissions, I will set it to custom permissions where everyone will get read only access and only “Finance User” will have full control:

    image

    In the notification, you can send notification to email address, maybe the folder manager, department head or administrator:

    image

    In the Conditions, I will specify the rule to encrypt all the documents that belong to finance, you can also choose to apply time conditions like last day since accessed, modified or created or file names patterns:

    image

    In the Schedule, you can specify the schedule to run the rule, you can also choose to run it continuously and monitor for new files:

    image

    Now the rule is ready and configured, let us run it and see the report:

    image

    So, As Expected the files were encrypted and now based on their tagging everyone has ready only access and only the finance user will have full control, Super!!!

    This was a long article, we have talked about data classification, Usage and RMS encryption integration using File Management Tasks, using the above knowledge; you can enforce and control data within your organization and massively improve Data Leak Control within your organization.

    In Part4, we will speak about Dynamic Access Control and how to control access on the fly using Windows Server 2012 DAC.

    The Windows Server 2012 new File Server–part 2- Install AD RMS #Microsoft #winserv 2012 #mvpbuzz

    September 10, 2012 Leave a comment

    Part1: The Windows Server 2012 new File Server–part 1- Access Conditions #Microsoft #winserv 2012 #mvpbuzz
    http://goo.gl/FtWbi

    Part3:https://autodiscover.wordpress.com/2012/09/10/the-new-file-serverpart3-using-file-classification-adrms-microsoft-winserv-2012-mvpbuzz/
    http://goo.gl/A4JlC

    In Part 2 of this blog series, We will continue our exploration of the new File Server functionality, In order to complete our journey we will stop by one of my favourite but less fortunate features, Active Directory Rights Management Server.

    Active Directory Rights Management Server or AD RMS has been around for several years, and for hidden and secret reasons it wasn’t adopted by a lot of customers, although I believe it is one of the most important features of Windows Server.

    What is Active Directory Rights Management Services?

    An AD RMS system includes a Windows Server® 2008-based server running the Active Directory Rights Management Services (AD RMS) server role that handles certificates and licensing, a database server, and the AD RMS client. The latest version of the AD RMS client is included as part of the Windows Vista® operating system. The deployment of an AD RMS system provides the following benefits to an organization:

    • Safeguard sensitive information. Applications such as word processors, e-mail clients, and line-of-business applications can be AD RMS-enabled to help safeguard sensitive information Users can define who can open, modify, print, forward, or take other actions with the information. Organizations can create custom usage policy templates such as “confidential – read only” that can be applied directly to the information.
    • Persistent protection. AD RMS augments existing perimeter-based security solutions, such as firewalls and access control lists (ACLs), for better information protection by locking the usage rights within the document itself, controlling how information is used even after it has been opened by intended recipients.
    • Flexible and customizable technology. Independent software vendors (ISVs) and developers can AD RMS-enable any application or enable other servers, such as content management systems or portal servers running on Windows or other operating systems, to work with AD RMS to help safeguard sensitive information. ISVs are enabled to integrate information protection into server-based solutions such as document and records management, e-mail gateways and archival systems, automated workflows, and content inspection.

    More Information: http://technet.microsoft.com/en-us/library/cc771627(v=ws.10).aspx

    In this blog we will install AD RMS on a new Windows Server 2012 machine, this machine will be used later in my next blog post for Data Classification and policy enforcement.

    Installing Active Directory Rights Management Server in Windows Server 2012:

    The AD RMS setup has been dramatically improved, in the old days it was hard, and even the improved setup experience in Windows 2008 is no match for the improved setup in Windows Server 2012, and as you can expect everything is controlled by the server manager so to install AD RMS, open the Sever manager and Select Add Roles and Features, from there select AD RMS, Once installed, the Server Manager will tell you that there is pending configuration

    image

    In the following screen, select the perform additional configuration:

    image

    and in the welcome screen click next:

    image

    In the AD RMS Cluster, and since this is the first server, we will create a new cluster:

    image

    In the Configuration Database, I will use internal Database, this is a lab environment but make sure to have the proper SQL installation in place if you are using the ADRMS setup in production:

    image

    In the Service Account, type in a designated service account, this is a normal account with special permissions (if you are installing the AD RMS on a DC”for testing”, this account must be a member of the Builtin “Administrators” group:

    image

    In the Cryptographic mode, Select mode-2 it is much more secure:

    image

    In the Key Storage, I will choose to use AD RMS to store the Key:

    image

    In the key password, supply a password to protect the key:

    image

    In the AD RMS Website, Select the Web Site that will host the AD RMS web services:

    image

    In the Cluster Address, Specify the FQDN that will be used my the clients to communicate with the AD RMS Server and the transport protocol, I will keep it simple and choose the HTTP, however you might want to use HTTPS since it is more secure:

    image

    In the Server Licensor Certificate name, specify a name for the certificate, and click next:

    image

    In the AD RMS service registration, register the AD RMS SCP unless for mysterious reasons you want to do it later:

    image

    In the installation summary, review the installation and click install:

    image

    Congrats, once finished you then you completed the AD RMS installation, you can configure templates and additional configuration.

    In the next blog post, we will see how we can use the AD RMS and Data classification infrastructure to protect valuable and confidential data, on file shares.

    The Windows Server 2012 new File Server–part 1- Access Conditions #Microsoft #winserv 2012 #mvpbuzz

    September 9, 2012 9 comments

    Part2: The Windows Server 2012 new File Server–part 2- Install AD RMS #Microsoft #winserv 2012 #mvpbuzz
    http://goo.gl/dRHro
    Part3:https://autodiscover.wordpress.com/2012/09/10/the-new-file-serverpart3-using-file-classification-adrms-microsoft-winserv-2012-mvpbuzz/
    http://goo.gl/A4JlC

    I am so excited about the new Windows Server 2012, a lot of nice features and a lot of enhancement but one particular enhancement I am so interested in was around file servers.

    for years, File Servers have been the same, a normal share that resides on the server and accessed by users, that is what they are and what they do, nothing new to introduce.

    But with the recent increase of security demand, and huge need for DLP (Data leak prevention) and with the believe that most of leaks happens from employees not from hackers or intruders, companies kept looking to enhance their file servers.

    The question now days is not about who is accessing the files, but it is about auditing that access, continuously enforcing that access, controlling the access and additionally knowing what is on that share and what sort of data inside and from where it is accessed.

    let us take a normal example, a file share is located on corporate network, in the old days the control was only enforced by the File share and NTFS permissions, but there are some catches:

    • if the user has permissions to access the file share, he can access it from everywhere, he can access it from a kiosk on the hotel, from his IPAD or tablet device without any control, as long as he has access to data using permissions he can do access it from anywhere (provided that there is a remote access).
    • if he got access to the share, does that mean that he is allowed to access the data within the share, for example a share that is created for the R&D team contains all the R&D files, but not all R&D team members ]have the same level of access, now if a confidential file has been mistakenly placed on the share, all of the users who have access to the share can see the confidential data. although users should be aware about data confidentiality, but the company must be able to continuously control the data access on the data files themselves without warring about human mistakes which happens, and this is a big portion of the DLP controls.
    • Controlling Access properties using groups are really tricky, and more often groups are created to reflect access criteria, so we have a group for Egypt’s Accountants, and another group for Qatar’s Accountants, and a third groups for Egypt’s Accountants with confidential data…etc and group counts can grow and grow to thousands and thousands of groups to reflect the needed level of access.

    Windows Server 2012 comes with a lot of handy features that we will explore in this blog series, talking about Access Conditions, Data Classification, Dynamic Access Controls and Rights Management enforcement.

    In Part1, we will explore the new security permissions wizard and the new device permissions in Windows Server 2012.

    (My lab setup contains only 1 Domain Controller and 1 file Server both running Windows Server 2012 ENT Edition).

    NTFS permissions and the new Device Rules:

    I have now a normal file share that is shared with the finance admin group:

    image

    This is a normal group that has been created in AD and contains one user account (Finance User) who is a finance admin, he has read only access permissions, this is what we have been doing for the past 20 years.

    Now, the company wants him to access the share only from specific group of computers (for the sake of this blog we will use normal blog, in part 3 we will talk about claims based authentication where we will explore claims authentication and we will be able to query the device claims on the fly for more properties and control and access dynamically).

    Now I created a Group and Placed Finance User1 computer in it (in this case the File Server), this means that if he logs from the DC on that file share he will not be able to access it. let us see how:

    If we go to the Security properties and the advanced share permissions, we can see the FinanceAdmin read and execute permissions, if we click Edit:

    image

    We Will see the new security permission wizard:

    image

    The above wizard has been enhanced to reflect more usability and control over the process, and also a new section called conditions, let us explore this condition section.

    If you click Add a Condition , you will get a new line of condition to control the access:
    image

    now we can place some conditions on the user how is accessing, the resource he is trying to access or the device he is accessing from, now let us create a condition to give the user access from a specific device, the device can only be queried about its group membership in later blog post we will see how to query for more properties using claims, now we can select if it is a member of any or each or not member of specific groups, I will control using any and specific my group:

    image

    My rule will control the access based on the AllowedFinancePCs which contains the computers from where the financeadmin group can use to access the files, they can login to any device in the corporate by only access the files if they use specific devices to access it “Sweeeeeeeet” Open-mouthed smile:

    image

    Now, The final Security permissions will be like:

    image

    Now let us try it:

    I logged on locally to the Fileserver, when I try to access the file I can’t although I have the permission and login locally but I am not using the authorized machine to do that:

    image

    if we examine the permissions using the effective permissions. if the user tries to login from the 2008DC machine he will have no permissions:

    image

    But if he tries from another machine from the allowedFinancePC group, he will have read permissions:

    image

    Note: During my lab I have tried the above setup and didn’t work, although conditions worked correctly for users, it looks like something that needs to be enabled or configured in specific way, I am pinging Microsoft folks and when I reach a solution I will update this blog.

     

    In this lab we have explored the new options for setting access permissions, this is very powerful controlling who and from where can access the data.

    In the next blog we will see the power of data classification in Windows Server 2012, Stay Tuned.