1
00:00:00,240 --> 00:00:06,210
So in this video, we're going to talk about this execution policy, so this execution policy set of

2
00:00:06,210 --> 00:00:14,050
rules are defined by the policy to whether to execute the partial groups are not so ready for discussion.

3
00:00:14,070 --> 00:00:15,960
Policy is too restrictive.

4
00:00:16,830 --> 00:00:18,000
So we shoot this one.

5
00:00:18,420 --> 00:00:19,920
So let's take the Porsche.

6
00:00:26,300 --> 00:00:35,530
So first thing we need to help is get a coherent policy to display what the policy has been, a policy

7
00:00:35,720 --> 00:00:38,840
is U.S. education policy.

8
00:00:39,890 --> 00:00:44,170
So one thing you need to remember about this, communities first one is called over.

9
00:00:44,420 --> 00:00:50,500
So where you have the votes to get at the root, uh, etc..

10
00:00:50,520 --> 00:00:52,730
So this one is the second one is done now.

11
00:00:53,210 --> 00:01:03,710
So what how to perform so that command that something get, uh, get another comment and uh add user,

12
00:01:03,740 --> 00:01:11,100
add the service etc. so it will be in the form of verbal hyphen and No.

13
00:01:12,620 --> 00:01:19,190
So in this comment there is an execution policy that Spottswood is uh using by default and we're getting

14
00:01:19,190 --> 00:01:19,630
this one.

15
00:01:20,060 --> 00:01:21,140
So if you hit enter.

16
00:01:24,910 --> 00:01:33,420
So it's just so there are four ways of this execution, but this one is this the Shecter.

17
00:01:33,520 --> 00:01:37,850
So in this restricted, you cannot execute the Parshall's groups in this part.

18
00:01:38,000 --> 00:01:45,790
This is the default education policy that comes with this differentiation, because this Microsoft has

19
00:01:46,330 --> 00:01:55,810
that some security, uh, medications like the partial how capacity to, uh, run some malicious scripts

20
00:01:55,810 --> 00:01:56,350
in November.

21
00:01:56,410 --> 00:02:00,440
So that's by default the policy you set to this.

22
00:02:01,600 --> 00:02:03,310
And second one is unrestricted.

23
00:02:03,340 --> 00:02:10,290
So in this and you can, uh, run any script, uh, with permissions.

24
00:02:10,290 --> 00:02:12,700
So you need to just run the scripts.

25
00:02:13,030 --> 00:02:19,230
And third one is, uh, site and forten is so remote settlements like Third-Party applications that

26
00:02:19,240 --> 00:02:20,680
are signed by our computers.

27
00:02:20,920 --> 00:02:28,870
So our assignments, the scripts that have been signed by our computer so that, uh, we no need to

28
00:02:29,260 --> 00:02:34,370
talk about those two will be, uh, talking about this restricted and unrestricted.

29
00:02:34,660 --> 00:02:36,280
So let's go into this.

30
00:02:36,280 --> 00:02:42,160
I you can see this, uh, this is the hardware that we one and it is stored in a desktop.

31
00:02:42,160 --> 00:02:44,260
You can see right over there.

32
00:02:44,290 --> 00:02:45,400
It's going to run the script.

33
00:02:45,400 --> 00:02:47,770
So to run this and if we are on this.

34
00:02:54,970 --> 00:02:57,010
So that are not residents.

35
00:02:57,060 --> 00:03:00,710
So let's change this and run again.

36
00:03:08,230 --> 00:03:08,930
So over this.

37
00:03:09,490 --> 00:03:10,210
You see again.

38
00:03:13,930 --> 00:03:16,820
So Click filed an appeal for.

39
00:03:19,360 --> 00:03:27,190
So that's going around this, you can see here another easier access because execution policy has been

40
00:03:27,190 --> 00:03:28,520
said to the shooter.

41
00:03:29,680 --> 00:03:35,500
So the scenes, if you are, want to send the malicious partial script onto the commission.

42
00:03:35,710 --> 00:03:39,440
If you want to decode this one, you cannot execute the script.

43
00:03:39,460 --> 00:03:43,570
So one way to do is you need to set the execution policy.

44
00:03:43,570 --> 00:03:47,860
So before showing that set execution policy, I want to show you another comment.

45
00:03:47,860 --> 00:03:54,290
That is we can execute a single script, uh, without this execution policy.

46
00:03:54,320 --> 00:04:00,550
So let's go to desktop desktop and know what you're going to do is I want to partial.

47
00:04:02,970 --> 00:04:12,510
Partial to the exit and to specified options, execution, policy, education policy, and we need to

48
00:04:12,720 --> 00:04:13,350
bypass.

49
00:04:15,040 --> 00:04:17,270
So after bypass, we need to see a fire.

50
00:04:18,430 --> 00:04:24,680
So you need to speak the script that you want to run to, that is part of that saw.

51
00:04:24,730 --> 00:04:31,300
So if you're on this one, you can see our script has been, you know, let's go in and run this without

52
00:04:31,300 --> 00:04:36,250
this partial but a discussion by policy papers.

53
00:04:37,030 --> 00:04:39,060
So we are normally running the script.

54
00:04:39,940 --> 00:04:41,300
Uh, you can see the shell.

55
00:04:41,500 --> 00:04:42,980
The script has not been executed.

56
00:04:42,980 --> 00:04:44,260
It's just another easier access.

57
00:04:44,530 --> 00:04:50,620
But if we can run with this education policy bypass and if you say the financial and political script,

58
00:04:50,710 --> 00:04:51,010
then.

59
00:04:53,130 --> 00:04:59,970
Our script that ran successfully, so this is one of the ways to bypass this addiction policies.

60
00:05:00,000 --> 00:05:01,060
There are so many ways.

61
00:05:01,110 --> 00:05:03,340
We'll take a look at it afterwards.

62
00:05:04,740 --> 00:05:09,770
So how to change this execution policy for all the scripts?

63
00:05:10,200 --> 00:05:14,130
So I you to release the set execution policy.

64
00:05:17,120 --> 00:05:21,620
Execution policy to Andrew.

65
00:05:28,490 --> 00:05:35,240
And what do you want to do is you want to be white and so it just permission do what you want to do

66
00:05:35,240 --> 00:05:40,730
is because this partial and you need to run the parcel as administrator.

67
00:05:46,410 --> 00:05:52,320
So now if you want to run this ship, it will work fine now.

68
00:05:52,410 --> 00:05:55,440
Best way to turn this execution policy.

69
00:05:55,680 --> 00:05:57,780
And now you can see this for now.

70
00:05:57,780 --> 00:05:59,760
Let's go to our desktop.

71
00:06:08,230 --> 00:06:17,990
And now let's run a run over our script normally, so you just peachy and press that Avatar condition

72
00:06:18,100 --> 00:06:19,030
and presenter.

73
00:06:19,600 --> 00:06:20,510
Now you can see.

74
00:06:21,250 --> 00:06:25,530
And now let's forget execution policy so powerful.

75
00:06:25,540 --> 00:06:30,160
How some intelligence to a predictable completion.

76
00:06:30,250 --> 00:06:34,150
So this is not for the intelligence, the ISC, how the intelligence.

77
00:06:34,150 --> 00:06:40,090
So you will see the retrieval of metadata, netroots data.

78
00:06:40,120 --> 00:06:47,950
But just you can get it and he can and you'll get that execution policy and you can say at least.

79
00:06:50,260 --> 00:07:00,190
So you can see these are the one and now I'm going to get execution policy, if you can see, and because

80
00:07:00,190 --> 00:07:02,950
we have changed the execution policy to order the shooter.

81
00:07:03,730 --> 00:07:09,010
So that's how you change the policy by using this set execution policy.

82
00:07:09,580 --> 00:07:12,160
And I have showed you that right.

83
00:07:12,190 --> 00:07:14,760
The execution policy bypassed.

84
00:07:15,100 --> 00:07:18,060
So that is one of the ways to bypass this execution policy.

85
00:07:18,080 --> 00:07:20,170
And you use that.

86
00:07:20,560 --> 00:07:26,470
You can use the tools, execute some malicious poachers groups on the commission so that all of the

87
00:07:26,470 --> 00:07:28,730
studio education policy on the partial.

